Share via


/NODEFAULTLIB (Windows CE 5.0)

Send Feedback

This option tells the linker to remove one or more default libraries from the list of libraries it searches when resolving external references.

/NODEFAULTLIB[:library]

The following table shows the settings for /NODEFAULTLIB.

Command Line Settings Description
/NODEFAULTLIB:library Ignore Libraries This option removes the specified library or libraries from the list of libraries it searches when resolving external references.
/NODEFAULTLIB Ignore All Default Libraries This option removes all default libraries from the list of libraries it searches when resolving external references.

To specify multiple libraries, use **/NODEFAULTBLIB:**library more than once.

The Ignore Libraries, **/NODEFAULTLIB:**library, option overrides /DEFAULTLIB:library when the same library name is specified in both.

If you use /NODEFAULTBLIB linker option, for example to build your program without the C run-time library, you may have to also use /ENTRY to specify the entry point (function) in your program.

See Also

Linker Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.