Developer Guide and Reference

Contents

cxxlib

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

Syntax

Linux:
-cxxlib
[
=
dir
]
-cxxlib-nostd
-no-cxxlib
macOS:
None
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.
If you specify
dir
for
cxxlib
, the compiler uses
dir
/bin/gcc
to setup the environment.
Option
-cxxlib=
dir
can be used with option
-gcc-name=
name
to specify the location
dir
/bin/
name
.
Option
-cxxlib-nostd
prevents the compiler from linking with the standard C++ library.
Alternate Options
None

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804