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


Read syntax diagramSkip visual syntax diagram        .-nolistopt-.
>>- -q--+-listopt---+------------------------------------------><


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

Specifying -qnoprint overrides this compiler option.


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

xlc++ myprogram.C -qlistopt

Related information