Options for customizing the compiler

Table 40. Options for general customization
Option name Type Default Description
-B -flag - Determines substitute path names for the compiler, assembler, linkage editor, and preprocessor.
-F -flag - Names an alternative configuration file for the compiler.
-qasm_as -qopt - Specifies the path and flags used to invoke the assembler.
-qexpfile -qopt - Saves all exported symbols in a file.
-qmaxmem -qopt -qmaxmem=8192 Limits the amount of memory used for local tables of specific, memory-intensive optimizations.
-qpath -qopt - Constructs alternate program and path names.
-t -flag See -t. Adds the prefix specified by the -B option to designated programs.
-W -flag - Passes the listed options to a designated compiler program.

Table 41. Template-related options
Option name Type Default Description
C++ only -qtempinc -qopt -qnotempinc. Generates separate include files for template functions and class declarations, and places these files in a directory which can be optionally specified.
C++ only -qtemplaterecompile -qopt See -qtemplaterecompile. Helps manage dependencies between compilation units that have been compiled using the -qtemplateregistry compiler option.
C++ only -qtemplateregistry -qopt -qnotemplateregistry Maintains records of all templates as they are encountered in the source and ensures that only one instantiation of each template is made.
C++ only -qtempmax -qopt -qtempmax=1 Specifies the maximum number of template include files to be generated by the tempinc option for each header file.
C++ only -qtmplinst -qopt -qtmplinst=auto

Manages the implicit instantiation of templates.

C++ only -qtmplparse -qopt -qtmplparse=no Controls whether parsing and semantic checking are applied to template definition implementations.