Summary of compiler options by functional category
The XL C/C++ options available on the Linux platform are grouped
into the following categories, based on the essence or nature of the functionality
the option provides:
- Input control. Accepted language features,
search paths for input file.
- Output control. Characteristics of the object
code, data size and alignment, file names of output files.
- Optimization. Predefined levels of optimization,
specialized optimization techniques, code size.
- Error checking and debugging. Includes options
for profiling and initializing automatic variables.
- Listings and messages. Includes options to
produce output more specialized than that of -qsource or -qinfo.
- Compatibility. Reinstates
specific functionality of an earlier compiler, hardware
- Integer and floating-point control. Options
that direct rounding and the handling of long long and floating-point types.
- Linking. Search paths for input to and output
from the linkage editor.
- Compiler customization. Control of internal
compiler operation, such as how templates are handled.
To get detailed information on any option listed, see the full description
page(s) for that option. Those pages describe each of the compiler options,
including:
- The purpose of the option and additional information about its behavior. Unless specifically noted, all options apply to both C and C++
program compilations.
- The command-line syntax of the compiler option. The first line under the Syntax heading specifies the command-line or configuration-file
method of specification. The second line, if one appears, is the #pragma options keyword for use in your source file.
- The default setting of the option if you do not specify the option on
the command line, in the configuration file, or in a pragma directive within
your program.