Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public

Visible to Intel only — GUID: GUID-E181C915-794B-4ABD-975A-7B7F6C6DB0BF

Document Table of 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.

IDE Equivalent

None

Alternate Options

None

See Also