Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - -zl no default library http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 -Zl                 No default library
------------------------------------------------------------------------------
 Syntax
   -Zl

 Arguments
   None.

 Default
   Include default library references in the object file.

 Description
   The -Zl switch instructs the compiler not to include a reference to
   the default language libraries in the generated object file. The
   linker will recognize this record and automatically search the
   referenced libraries for any unresolved symbol. In this way the
   standard libraries are not necessary to explicitly specify for the
   linker by the programmer.

   The -Zl option suppresses placing the library reference record in the
   object file. This may be necessary when writing library functions.

   The #pragma DEFLIB directive can be also used to suppress inclusion of
   standard libraries.

 Example
   . Do not refer to default libraries in object file (used when compiling
     library modules).
   
     force.exe -Zl test.prg
   
   . Include default library references in object file (override the effect
     of a -Zl switch in force.cfg).
   
     force.exe -Zl- test.prg

See Also: #pragma DEFLIB

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson