Intel® C++ Compiler XE 13.1 User and Reference Guides

cxxlib

Determines whether the compiler links using the C++ run-time libraries and header files provided by gcc.

IDE Equivalent

Windows: None

Linux: Preprocessor > gcc Compatibility Options

OS X: Preprocessor > gcc Compatibility Options

Architectures

All

Syntax

Linux and OS X:

-cxxlib[=dir]

-cxxlib-nostd

-no-cxxlib

Windows:

None

Arguments

dir

Is an optional top-level location for the gcc binaries and libraries.

Default

C++: -cxxlib
C: -no-cxxlib

For C++, the compiler uses the run-time libraries and headers provided by gcc.
For C, the compiler uses the default run-time libraries and headers and does not link to any additional C++ run-time libraries and headers. However, if you specify compiler option -std=gnu++98, the default is -cxxlib.

Description

This option determines whether the compiler links using the C++ run-time libraries and header files provided by gcc.

Option -cxxlib-nostd prevents the compiler from linking with the standard C++ library.

Alternate Options

None


Submit feedback on this help topic