gcc-name

Specifies the location of the gcc compiler when the compiler cannot locate the gcc C++ libraries.

IDE Equivalent

Windows: None
Linux: Preprocessor > Nonstandard gcc Installation
Mac OS X: Preprocessor > gcc Installed to Non-standard Location

Architectures

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

Syntax

Linux and Mac OS X: -gcc-name=dir
Windows:    None

Arguments

dir Is the full path location of the gcc compiler.

Default

OFF      The compiler locates the gcc libraries in the gcc install directory.

Description

This option specifies the location of the gcc compiler when the compiler cannot locate the gcc C++ libraries. To use this option, you must also specify the -cxxlib option.

This option is helpful when you are referencing a non-standard gcc installation.

Note

When compiling using icpc, use compiler option -gxx-name.

Alternate Options

None

See Also

gxx-name compiler option

cxxlib compiler option

Building Applications: Compiler Options for Interoperability