Intel® C++ Compiler XE 13.1 User and Reference Guides
Specifies the name of the g++ compiler that should be used to set up the environment for C++ compilations.
All
Linux and OS X: | -gxx-name=name |
Windows: | None |
name |
Is the name of the g++ compiler to use. It can include the path where the g++ compiler is located. |
OFF |
The compiler uses the PATH setting to find the g++ compiler and resolve environment settings. |
This option specifies the name of the g++ 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.
The C equivalent to option -gxx-name is -gcc-name.
When compiling a C++ file with icc, g++ is used to get the environment.
None
If the following option is specified, the compiler looks for the g++ compiler named foobar in the PATH setting:
-gxx-name=foobar
If the following option is specified, the compiler looks for the g++ compiler named foobar in the path specified:
-gxx-name=/a/b/foobar