Intel® C++ Compiler 16.0 User and Reference Guide
Lets you specify the name of the gcc compiler that should be used to set up the environment for C compilations.
Linux: | -gcc-name=name |
OS X: | None |
Windows: | None |
name |
Is the name of the gcc compiler to use. It can include the path where the gcc compiler is located. |
OFF |
The compiler uses the PATH setting to find the gcc compiler and resolve environment settings. |
This option lets you specify 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, or you have multiple gcc installations on your system. The compiler will match gcc version values to the gcc compiler you specify.
The C++ equivalent to option -gcc-name is -gxx-name.
Visual Studio: None
Eclipse: Preprocessor > Nonstandard gcc Installation
Xcode: None
None
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