gxx-name

Specifies that the g++ compiler should be used to set up the environment for C++ compilations.

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-gxx-name=dir

Windows:

None

Arguments

dir

Is the full path location of the g++ compiler.

Default

OFF

The compiler uses the PATH setting to find the g++ compiler and resolve environment settings.

Description

This option specifies that the g++ compiler should be used to set up the environment for C++ compilations.

The C equivalent to option -gxx-name is -gcc-name.

Note iconNote

When compiling a C++ file with icc, g++ is used to get the environment.

Alternate Options

None

See Also