Intel® C++ Compiler XE 13.1 User and Reference Guides

gcc-name

Specifies the name of the gcc compiler that should be used to set up the environment for C compilations.

IDE Equivalent

Windows: None

Linux: Preprocessor > Nonstandard gcc Installation

OS X: None

Architectures

All

Syntax

Linux and OS X:

-gcc-name=name

Windows:

None

Arguments

name

Is the name of the gcc compiler to use. It can include the path where the gcc compiler is located.

Default

OFF

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

Description

This option specifies the name of the gcc compiler that should be used to set up the environment for C compilations. If you do not specify a path, the compiler will search the PATH settings for the compiler name you provide.

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

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

Alternate Options

None

Example

If the following option is specified, the compiler looks for the gcc compiler named foobar in the PATH setting:

-gcc-name=foobar

If the following option is specified, the compiler looks for the gcc compiler named foobar in the path specified:

-gcc-name=/a/b/foobar

See Also


Submit feedback on this help topic