Changes the standard search location for the g++ headers.
.-:----. V | >>- -qgcc_cpp_stdinc--=----path-+------------------------------><
The standard search path for g++ headers is determined by combining the search paths specified by both the -qcpp_stdinc and this (-qgcc_cpp_stdinc) compiler option, in that order. You can find the default search path for this option in the compiler default configuration file.
If one of these compiler options is not specified or specifies an empty string, the standard search location will be the path specified by the other option. If a search path is not specified by either of the -qcpp_stdinc or -qgcc_cpp_stdinc compiler options, the default header file search path is used.
If this option is specified more than once, only the last instance of the option is used by the compiler. To specify multiple directories for a search path, specify this option once, using a : (colon) to separate multiple search directories.
This option is ignored if the -qnostdinc option is in effect.
To specify mypath/headers1 and mypath/headers2 as being part of the standard search path, enter:
xlc++ myprogram.C -qgcc_cpp_stdinc=mypath/headers1:mypath/headers2
Related information