nodefaultlibs

Prevents the compiler from using standard libraries when linking.

IDE Equivalent

Windows: None

Linux: Libraries > Use no system libraries

Mac OS: None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -nodefaultlibs
Windows:  None

Arguments

None

Default

OFF The standard libraries are linked.

Description

This option prevents the compiler from using standard libraries when linking. It is provided for GNU compatibility.

Alternate Options

None

See Also

nostdlib compiler option