The /NOD Option

Option

/NOD[[EFAULTLIBRARYSEARCH]][[:libraryname]]

The /NOD option tells LINK not to search default libraries named in object files. Specify libraryname to tell LINK to exclude only libraryname from the search. If you want LINK to ignore more than one library, specify /NOD once for each library. To tell LINK to ignore all default libraries, specify /NOD without a libraryname. For more information, see “Default Libraries”.

High-level-language object files usually must be linked with a run-time library to produce an executable file. Therefore, if you use the /NOD option, you must also use the libraries field to specify an alternate library that resolves the external references in the object files. If you compile a program using Microsoft C 7.0 or later and you specify /NOD, you must also specify OLDNAMES.LIB.