Developer Guide and Reference

Contents

nostdlib

Prevents the compiler from using standard libraries and startup files when linking.

Syntax

Linux:
-nostdlib
macOS:
-nostdlib
Windows:
None
Arguments
None
Default
OFF
The compiler uses standard startup files and standard libraries when linking.
Description
This option prevents the compiler from using standard libraries and startup files when linking.
On Linux* systems, it is provided for GNU compatibility.
This option is not related to option
-stdlib
.
Alternate Options
None