Compiler customization

The options in this category allow you to specify alternative locations for compiler components, configuration files, standard include directories, and internal compiler operation. These options are useful for specialized installations, testing scenarios, and the specification of additional command-line options.
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.

Specifies substitute path names for XL C components such as the assembler, C preprocessor, and linker.

-qc_stdinc 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.

Specifies substitute path names for XL C components such as the compiler, assembler, linker, and preprocessor.

-qoptfile None.

Specifies a file containing a list of additional command line options to be used for the compilation.

-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.