cxxlib

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

IDE Equivalent

Windows: None

Linux: Preprocessor > gcc Compatibility Options

Mac OS X: Preprocessor > gcc Compatibility Options

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac 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 compile 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

Copyright © 1996-2011, Intel Corporation. All rights reserved.