listopt

Option Type Default Value #pragma options C C++
-qoption nolistopt - x x

Syntax

    -qlistopt | -qnolistopt 

Purpose
Produces a compiler listing that displays all options in effect at time of compiler invocation.

The listing will show options in effect as set by the compiler default, configuration file, and command line settings. Option settings caused by #pragma statements in the program source are not shown in the compiler listing.

Example
To compile myprogram.c to produce a compiler listing that shows all options in effect, enter:

xlC myprogram.c -qlistopt


List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Output
Resolving Conflicting Compiler Options
Equivalent Batch Compile-Link and Incremental Build Options