Changes the standard search location for the gcc headers.
The standard search path for gcc headers is determined by combining the search paths specified by both the -qc_stdinc and this (-qgcc_c_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 -qc_stdinc or -qgcc_c_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_c_stdinc=mypath/headers1:mypath/headers2
Directory Search Sequence for Include Files Using Relative Path Names
Specify Compiler Options in a Configuration File
Compiler Command Line Options
c_stdinc
cpp_stdinc
gcc_cpp_stdinc
stdinc