Configuration file attributes

A configuration file includes several stanzas. The items defined by stanzas in the configuration file include the following:

as Path name to be used for the assembler. The default is /bin/as.
asopt List of options for the assembler and not for the compiler. These override all normal processing by the compiler and are directed to the assembler specified in the as stanza. The string is formatted for the AIX getopt subroutine as a concatenation of flag letters, with a letter followed by a colon (:) if the corresponding flag takes a parameter.
ccomp C front end. The default is /usr/vac/exe/xlcentry.
cppcomp C++ front end. The default is /usr/vacpp/exe/xlCentry
code Path name to be used for the code generation phase of the compiler. The default is /usr/vac/exe/xlCcode.
codeopt List of options for the code-generation phase of the compiler.
cppopt List of options for the lexical analysis phase of the compiler.
crt Path name of the object file passed as the first parameter to the linkage editor. If you do not specify either the -p or the -pg option, the crt value is used. The default is /lib/crt0.o.
csuffix Suffix for source programs. The default is c (lowercase c).
dis Path name of the disassembler. The default is /usr/vacpp/exe/dis.
gcrt Path name of the object file passed as the first parameter to the linkage editor. If you specify the -pg option, the gcrt value is used. The default is /lib/gcrt0.o.
ld Path name to be used to link C or C++ programs. The default is /bin/ld.
ldopt List of options, directed to the linkage editor to override all normal processing by the compiler. If the corresponding flag takes a parameter, the string is formatted for the getopt subroutine as a concatenation of flag letters, with a letter followed by a colon (:).
libraries2 Comma-separated list of library options that the compiler passes as the last parameters to the linkage editor. libraries2 specifies the libraries that the linkage editor is to use at link-edit time for both profiling and nonprofiling. The default is empty.
mcrt Path name of the object file passed as the first parameter to the linkage editor if you have specified the -p option. The default is /lib/mcrt0.o.
options A string of option flags, separated by commas, to be processed by the compiler as if they had been entered on the command line.
osuffix The suffix for object files. The default is .o.
proflibs Library options, separated by commas, that the compiler passes to the linkage editor when profiling options are specified. proflibs specifies the profiling libraries used by the linkage editor at link-edit time. The default is -L/lib/profiled and -L/usr/lib/profiled.
ssuffix The suffix for assembler files. The default is .s.
use Values for attributes are taken from either the named stanza or the local stanza. For single-valued attributes, values in the use stanza apply if no value is provided in the local, or default, stanza. For comma-separated lists, the values from the use stanza are added to the values from the local stanza.
xlc The path name of the xlc compiler component. The default is /usr/vac/bin/xlc.
xlC The path name of the xlC compiler component. The default is /usr/vac/bin/xlC.

Related information