defaultLibs Link Option (OS/2, Windows)

Syntax: Default:
link(defaultLibs[, yes])
link(defaultLibs, no)
link(defaultLibs[, yes])

This option controls whether default run-time libraries are searched during the link step to resolve references.

When you use this option to turn off default library search, you must explicitly name all libraries that your program requires, including the VisualAge C++ run-time libraries. To specify which libraries to link, add them to your list of source files.

By default, the module being generated links statically with the singlethread run-time library unless you specify otherwise with link(linkWithMultiThreadLib) or link(linkWithSharedLib).

You can use link(defaultLibsName, name) to add another library to the default search list, or link(noDefaultLibsName, name) to mark a library in the list to be excluded from the search.



Incremental C++ Builds
C Compilation
Configuration Files


Set Build Options
Build
Choose Your Run-Time Library
Add or Change Source Files


Link Options