Compiler customization

The options in this category allow you to specify alternate locations for compiler components, configuration files, standard include directories, and internal compiler operation. You should only need to use these options in specialized installation or testing scenarios.
Table 1. Compiler customization options
Option name Equivalent pragma name Description
-qasm_as None.

Specifies the path and flags used to invoke the assembler in order to handle assembler code in an asm assembly statement.

-B None.

Determines substitute path names for XL C/C++ executables such as the compiler, assembler, linker, and preprocessor.

-qc_stdinc (C only) None.

Changes the standard search location for the XL C and system header files.

-qcpp_stdinc (C++ only) None.

Changes the standard search location for the XL C++ and system header files.

-F None.

Names an alternative configuration file or stanza for the compiler.

-qpath None.

Determines substitute path names for XL C/C++ executables such as the compiler, assembler, linker, and preprocessor.

-qspill #pragma options spill

Specifies the size (in bytes) of the register spill space, the internal program storage areas used by the optimizer for register spills to storage.

-t None.

Applies the prefix specified by the -B option to the designated components.

-W None.

Passes the listed options to a component that is executed during compilation.