listopt

Applies to C Applies to C++

Purpose

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

Syntax


Syntax Diagram

Notes

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.

Example

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

xlc++ myprogram.C -qlistopt

Related References

Compiler Command Line Options
print
Resolving Conflicting Compiler Options IBM Copyright 2003