Configuration file attributes

The configuration file contains the following attributes:

__GNUC__
The version of gcc.
__GNUC_MINOR__
The release of gcc.
__GNUC_PATCHLEVEL__
The modification level of gcc.
as_64
The absolute path name of the assembler.
bolt
The absolute path name of the binder.
ccomp
The absolute path name of the compiler front end.
code
The absolute path name of the optimizing code generator.
cppfilt
The absolute path name of the C++ demangler.
crt_64
The path name of the object file which contains the startup code. This object file is passed as the first parameter to the linkage editor.
defaultmsg
The absolute path name of the default message files.
dis
The absolute path name of the disassembler.
gcc_path_64
Specifies the path to the 64-bit tool chain.
gcrt_64
Same as crt_64, but the object file contains profiling code for the -pg option.
genhtml
Specifies the path to the genhtml utility.
ipa
The absolute path name of the program that performs interprocedural optimizations, loop optimizations, and program parallelization.
ld_64
The absolute path name of the linker.
ldopt
Lists names of options that are assumed to be linker options for cases where, for example, a compiler option and a linker option use the same letter. The list is a concatenated set of single-letter flags. Any flag that takes an argument is followed by a colon, and the whole list is enclosed by double quotation marks.

You might find it more convenient to set up this attribute than to pass options to the linker through the -W compiler option. However, most unrecognized options are passed to the linker anyway.

list
The absolute path name of the lister.
listlibs
The path to libraries for listing support.
mcrt_64
Same as for crt_64, but the object file contains profiling code for the -p option.
options
A string of options that are separated by commas. The compiler processes these options as if you entered them on the command line before any other option. This attribute lets you shorten the command line by including commonly used options in one central place.
os_major
The version of the operating system.
os_minor
The release of the operating system.
os_patchlevel
The modification level of the operating system.
os_variant
The value of $ID from the /etc/os-release file.
slm_auth
The path of the authorization file. The default is /etc/XLAuthorizedUsers.
slm_dir
The directory of the SLM tag file. The default is /var/opt/ibm/xl-compiler/ for a default installation, or $prefix/var/opt/ibm/xl-compiler/ for a nondefault installation, where $prefix is the nondefault installation path.
slm_period
The number of seconds that each metric covers. The SLM daemon outputs the usage information for every defined period of time. The default is 300.
slm_limit
The maximum number of bytes that each tag file is allowed to occupy. The default is 5000000.
slm_timeout
The minimum number of seconds that the daemon must wait before terminating. The default is 5.
smplibraries
Specifies the libraries that are used to link programs that you compiled with the -qsmp compiler option.
transforms
The absolute path name of the transformation report listing.
xlCcopt
The options for compiling C code with the compiler.
xlc_c_complexgccinc
The GNU compiler complexgcc include path.
xlc_c_stdinc
The compiler include path for C code.
xlc_cpp_stdinc
The compiler include path for C++ code.
xlc_path
The location of the product.
xslt
The absolute path name of the XSLT processor.
Notes:
  • To specify multiple search paths for compilation include files, separate each path location with a comma as follows:
    include = -I/path1, -I/path2, ...
  • You can use the -F option to select a different configuration file, a specific stanza in the configuration file, or both.


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us