gcc-name

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

IDE Equivalent

Windows: None

Linux: Preprocessor > Nonstandard gcc Installation

Mac OS: Preprocessor > gcc Installed to Non-standard Location

Architectures

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

Syntax

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

Arguments

dir     Is the full path location of g++.

Default

OFF      The compiler can locate gcc C++ libraries after g++ is installed.

Description

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

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

Alternate Options

None

See Also

Building Applications: Compiler Options for Interoperability