Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

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

Document Table of Contents

nodefaultlibs

Prevents the compiler from using standard libraries when linking.

Syntax

Linux:

-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, this option is provided for GNU compatibility.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE Equivalent

Visual Studio: None

Eclipse: Libraries > Use no system libraries

Alternate Options

None

See Also