cxxlib

Tells the compiler to link using the C++ run-time libraries provided by gcc.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -cxxlib[=dir]
-cxxlib-nostd

-no-cxxlib
Windows:  None

Arguments

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

Default

-no-cxxlib The compiler uses the default run-time libraries and does not link to any additional C++ run-time libraries.

Description

This option tells the compiler to link using the C++ run-time libraries provided by gcc.

Option -cxxlib-nostd prevents the compiler from linking with the standard C++ library. It is only useful for mixed-language applications.

Alternate Options

-cxxlib Linux and Mac OS: -cxxlib-gcc (this is a deprecated option)
Windows: None
-no-cxxlib Linux: -no-cpprt
Mac OS: None
Windows: None