Specifies the location of the gcc compiler when the compiler cannot locate the gcc C++ libraries.
Windows: None
Linux: Preprocessor > Nonstandard gcc
Installation
Mac OS X: Preprocessor > gcc Installed
to Non-standard Location
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
| Linux and Mac OS X: | -gcc-name=dir |
| Windows: | None |
| dir | Is the full path location of the gcc compiler. |
| OFF | The compiler locates the gcc libraries in the gcc install directory. |
This option specifies the location of the gcc compiler when the compiler cannot locate the gcc C++ libraries. To use this option, you must also specify the -cxxlib option.
This option is helpful when you are referencing a non-standard gcc installation.
NoteWhen compiling using icpc, use compiler option -gxx-name.
None
gxx-name compiler option
cxxlib compiler option
Building Applications: Compiler Options for Interoperability