Syntax:
The /libdir, /Zl, or /Zla option controls whether library search paths are placed into object files generated by the compiler. Specify one or more of the following options:
/libdir:all or /libdir | /libdir:none, /nolibdir, or /Zl |
/libdir:automatic | /libdir:user |
The /libdir options:
Requests the insertion of linker search path directives for libraries automatically determined by the DF command driver and for those specified by the cDEC$ OBJCOMMENT LIB source directives. Specifying /libdir:all is equivalent to /libdir:(automatic, user). This is the default.
Prevents all linker search path directives from being inserted into the object file (neither automatic nor user specified).
Requests the insertion of linker search path directives for libraries automatically determined by the DF command driver (default libraries). To prevent the insertion of linker directives for default libraries, specify /libdir:noautomatic or /Zl. In the visual development environment, specify Disable Default Library Search Rules (for /libdir:noautomatic) in the Libraries Compiler Option Category.
Allows insertion of linker search path directives for any libraries specified by the cDEC$ OBJCOMMENT LIB source directives. To prevent the insertion of linker directives for any libraries specified by the OBJCOMMENT directives, specify /libdir:nouser. In the visual development environment, specify Disable OBJCOMMENT Directives (for /libdir:nouser) in the Libraries Compiler Option Category.