Tells the compiler to link using certain C++ run-time libraries.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | -cxxlib[-mode] -no-cxxlib |
Windows: | None |
mode | Specifies which C++ run-time libraries to use. Possible values are: | |
Tells the compiler to link using
the C++ run-time libraries provided by gcc. dir is an optional top-level location for the gcc binaries and libraries. | ||
icc | Tells the compiler to link using the C++ run-time libraries provided by Intel. -cxxlib-icc is only available on IA-32 and ItaniumŪ-based Linux systems. |
On Mac OS* systems, the compiler uses the run-time libraries provided by gcc. | |
On Linux* systems, the compiler uses the default run-time libraries and does not link to any additional C++ run-time libraries. |
This option tells the compiler to link using certain C++ run-time libraries.
If you specify the option with no mode, the compiler uses the default C++ libraries.
Note
For full interoperability with gcc, use -cxxlib-gcc. Do not use the -cxxlib-gcc option if your version of gcc is older than 3.2.
Caution
All object binaries used in a single link must be compiled with the same mode value, whether invoked explicitly or by default.
-no-cxxlib | Linux: -no-cpprt,
-no_cpprt Mac OS: None Windows: None |