None.
Saves the command-line options used for compiling a source file, the user's configuration file name and the options specified in the configuration files, the version and level of each compiler component invoked during compilation, and other information to the corresponding object file.
-qnosaveopt
This option has effect only when compiling to an object (.o) file (that is, using the -c option). Though each object might contain multiple compilation units, only one copy of the command-line options is saved. Compiler options specified with pragma directives are ignored.
>>-@(#)--opt-- -+-f-+-- -invocation-- -options----------------->< +-c-+ '-C-'
>>-@(#)--cfg-- ---config_file_options_list---------------------><
>>-@(#)--evn-- ---env_var_definition---------------------------><where:
For more information about the environment variable XLC_USR_CONFIG, see Compile-time and link-time environment variables.
.--------------------------------------------------------------------------------------. V | >>-@(#)----version--+-Version-- : -VV.RR.MMMM.LLLL--------------------------------------------+-+->< '-component_name--Version--:--VV.RR--(--product_name--)--Level--:--YYMMDD-'where:
If you want to simply output this information to standard output without writing it to the object file, use the -qversion option.
None.
xlc t.c -c -qsaveopt -qhot
opt c /usr/vac/bin/xlc t.f -c -qsaveopt -qhot cfg -qlanglvl=extc99 -qcpluscmt -qkeyword=inline -qalias=ansi -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX50 -D_AIX51 -D_AIX52 -D_AIX53 -D_IBMR2 -D_POWER version IBM XL C/C++ for AIX, V11.1 version Version: 11.01.0000.0000 version Driver Version: 11.01(C/C++) Level: YYMMDD version Front End Version: 11.01(C/C++) Level: YYMMDD version C Front End Version : 11.01(C/C++) Level: YYMMDD version High Level Optimizer Version: 11.01(C) and 13.01(Fortran) Level: YYMMDD version Low Level Optimizer Version: 11.01(C) and 13.01(Fortran) Level: YYMMDD
In the first line, c identifies the source used as C, /usr/vacpp/bin/xlc shows the invocation command used, and -qhot -qsaveopt shows the compilation options.
The remaining lines list each compiler component invoked during compilation, and its version and level. Components that are shared by multiple products may show more than one version number. Level numbers shown may change depending on the updates (PTFs) you have installed on your system.