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 Description
@file (-qoptfile)

Specifies a response file that contains a list of additional command line options to be used for the compilation. Response files typically have the .rsp suffix.

-B

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

-F

Names an alternative configuration file or stanza for the compiler.

-t

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

-X (-W)

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

-qasm_as

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

-isystem (-qc_stdinc) (C only)

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

-isystem (-qcpp_stdinc) (C++ only)

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

-isystem (-qgcc_c_stdinc) (C only)

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

-isystem (-qgcc_cpp_stdinc) (C++ only)

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

-qpath

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

-qspill

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



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us