Compiler options reference

This section contains a summary of the compiler options available in IBM® XL C/C++ for AIX® by functional category, followed by detailed descriptions of the individual IBM XL options. IBM XL C/C++ for AIX also supports a list of GCC options, some of which can be mapped to IBM XL C/C++ for AIX options. Section titles like -qversion (--version) indicate that --version is a GCC equivalent to the XL -qversion option. You are encouraged to use GCC options instead of legacy XL compiler options where possible.