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

no-intel-lib, Qno-intel-lib

Disables linking to specified Intel® libraries, or to all Intel® libraries.

Syntax

Linux:

-no-intel-lib[=library]

Windows:

/Qno-intel-lib[:library]

Arguments

library

Indicates which Intel® library should not be linked. Possible values are:

libirc

Disables linking to the Intel® C/C++ library.

libimf

Disables linking to the Intel® oneAPI DPC++/C++ Compiler Math library.

libm

This setting is only available on Windows. It is equivalent to specifying libimf.

libsvml

Disables linking to the Intel® Short Vector Math library.

libirng

Disables linking to the Random Number Generator library.

If you specify more than one library, they must be separated by commas.

If library is omitted, the compiler will not link to any of the Intel® libraries shown above.

Default

OFF

If this option is not specified, the compiler uses default heuristics for linking to libraries.

Description

This option disables linking to specified Intel® libraries, or to all Intel® libraries.

NOTE:

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

IDE Equivalent

None

Alternate Options

None