Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


/DEFAULTLIBRARYSEARCH, /NODEFAULTLIBRARYSEARCH

Use /DEFAULTLIBRARYSEARCH to have the linker search the default libraries of object files when resolving references.

/DEFAULTLIBRARYSEARCH option syntax
Read syntax diagramSkip visual syntax diagram   .-/DEFAULTLIBRARYSEARCH---.                
>>-+-------------------------+--+----------+-------------------><
   '-/NODEFAULTLIBRARYSEARCH-'  '-:library-'  
 

Default is: /DEFAULTLIBRARYSEARCH

Abbreviations are: /DEF|/NOD

If you specify a library with the option, the linker adds the library-name to the list of default libraries. The default libraries for an object file are defined at compile time and embedded in the object file. The linker searches the default libraries by default.

Use /NODEFAULTLIBRARYSEARCH to tell the linker to ignore default libraries when it resolves external references. If you specify a library with the option, the linker ignores that default library but searches the rest of the default libraries (and any others that are defined in the object files).

If you specify /NODEFAULTLIBRARYSEARCH without specifying library, then you must explicitly specify all the libraries you want to use, including IBM COBOL for Windows runtime libraries.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)