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

ID 767253
Date 9/08/2022
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, it 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