-qlistopt
Pragma equivalent
None.
Purpose
Produces a compiler listing file that includes all options in effect at the time of compiler invocation.
When listopt is in effect, a listing file is generated with a .lst suffix for each source file named on the command line. The listing shows options in effect as set by the compiler defaults, the configuration file, and command line settings. For details of the contents of the listing file, see Compiler listings.
Defaults
-qnolistopt
Usage
Option settings caused by pragma statements in the program source are not shown in the compiler listing.
The -qnoprint compiler option overrides this option.
Predefined macros
None.
Examples
To compile myprogram.c to
produce a listing (.lst) file that shows all options in effect, enter:
xlc myprogram.c -qlistopt



