cxxlib

Tells the compiler to link using certain C++ run-time libraries.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -cxxlib-mode
Windows:  None

Arguments

mode   Specifies which C++ run-time libraries to use. Possible values are:
  gcc[=dir] Instructs the compiler uses the C++ run-time libraries and header files provided by gcc.
dir
is an optional top-level location for the gcc binaries and libraries.
  icc Instructs the compiler uses the C++ run-time libraries and header files provided by Intel.

Default

OFF The compiler uses the default run-time libraries.

Description

Tells the compiler to link using certain C++ run-time libraries.

Note

For full interoperability with gcc, use -cxxlib-gcc. Do not use the -cxxlib-gcc option if your version of gcc is older 3.2.

Caution

All object binaries used in a single link must be compiled with the same mode value (icc or gcc), whether invoked explicitly or by default.

Alternate Options

None