Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-1D6A8224-9486-4876-9881-956EE34775DD

Document Table of Contents

nodefaultlibs

Prevents the compiler from using standard libraries when linking.

Syntax

Linux:

-nodefaultlibs

macOS:

-nodefaultlibs

Windows:

None

Arguments

None

Default

OFF

The standard libraries are linked.

Description

This option prevents the compiler from using standard libraries when linking.On Linux* systems, it is provided for GNU compatibility.

IDE Equivalent

Visual Studio: None

Eclipse: Libraries > Use no system libraries

Xcode: None

Alternate Options

None

See Also