New Options

Some compiler options are only available on certain systems. In the following table, these options are indicated with labels as follows:

Label Meaning
i32 Option available on IA-32-based systems
i32em Option available on Intel® Extended Memory 64 Technology (Intel® EM64T) systems
i64 Option available on Itanium®-based systems
The compiler options listed in the following table are new to this release.
 
Option Description Default
-cxxlib-gcc=GCC-root-dir Specifies the top-level location of the gcc binaries and libraries.
More...
OFF
-debug [no]inline_debug_info Produces enhanced source position information for inlined code.
More...
OFF
-debug [no]variable_locations Produces additional debug information for scalar local variables using a feature of the DWARF object module format known as location lists.
More...
OFF
-debug extended Turns on the three -debug options:
  • -debug inline_info
  • -debug variable_locations
More...
OFF
-export Enable recognition of exported templates. Supported in C++ mode only.
More...
OFF
-export_dir dir Specifies a directory name for the exported template search path.
More...
OFF
-fabi-version Directs the compiler to select a specific ABI implementation.
More...
OFF
-finline-functions Inline any function at the compiler's discretion. Same as -ip. OFF
-fno-exceptions The -fno-exceptions option turns off exception handling table generation, resulting in smaller code. Any use of exception handling constructs - try blocks, throw statements will produce an error. Exception specifications are parsed but ignored. A preprocessor symbol __EXCEPTIONS is defined when this option is not used. It is undefined when this option is present. OFF
-fno-implicit-inline-templates Do not emit code for implicit instantiations of inline templates. For C++ only.
More...
OFF
-fno-implicit-templates Never emit code for non-inline templates which are instantiated implicitly (i.e. by use); only emit code for explicit instantiations. For C++ only.
More...
OFF
-ftls-model=model Change thread-local storage model, where model can be the following:
  • global-dynamic
  • local-dynamic
  • initial-exec
  • local-exec
OFF
-g0 Disable generation of symbolic debug information. OFF
-[no-]global-hoist Enables [disables] hoisting and speculative loads of global variables. OFF
-ipo[value] Enables interprocedural optimizations across files. The optional value  argument controls the maximum number of link-time compilations (or number of object files) that are spawned. The default for value  is 1 when value  is not specified for small applications. It will generate two or more object files for large applications.
More...
OFF
-ipo_separate Creates one object file for every source file. This option overrides -ipo[value].
More...
OFF
-kernel
(i64 only)
Generates code for inclusion in the kernel. Prevents generation of speculation as support may not be available when code runs. Suppresses software pipelining. OFF
-MP Add a phony target for each dependency. OFF
-MQtarget Same as -MT, but quotes special Make characters. OFF
-MTtarget Change the default target rule for dependency generation. OFF
-Os Enable speed optimizations, but disable some optimizations which increase code size for small speed benefit. OFF
-Qlocation,gas,path Specifies the GNU assembler.
More...
OFF
-Qlocation,gld,path Specifies the GNU linker.
More...
OFF
-reserve-kernel-regs
(i64 only)
Reserves registers f12-f15 and f32-f127 for use by the kernel. These will not be used by the compiler. OFF
-std=gnu89 ISO C90 plus GNU extensions. Includes some C99 features. ON
-std=gnu++98 Same as -std=gnu89. OFF
-[no]traceback Generate [do not generate] extra information in the object file that allows the display of source file traceback information at run time when a severe error occurs. OFF