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.

-qcomplexgccincl #pragma complexgcc

Specifies whether to use GCC parameter-passing conventions for complex data types (equivalent to enabling -qfloat=complexgcc) for selected include files only.

-qc_stdinc (C only) None.

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

-qcpp_stdinc (C++ only) None.

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

-F None.

Names an alternative configuration file or stanza for the compiler.

-qgcc_c_stdinc (C only) None.

Changes the standard search location for the GNU C system header files.

-qgcc_cpp_stdinc (C++ only) None.

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

-qpath None.

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

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