New Options

All other options are supported on both IA-32 and Itanium-based systems.

Option Description Default
-dM Output macro definitions in effect after preprocessing (use with -E). OFF
-dynamic-linkerfilename Selects a dynamic linker (filename) other than the default. OFF
-fno-rtti Disable RTTI support. OFF
-fnsplit[-]
Itanium-based
systems only
Enables [disables] function splitting. Default is ON with -prof_use. To disable function splitting when you use -prof_use, also specify -fnsplit-. OFF
-fshort-enums Allocate as many bytes as needed for enumerated types. OFF
-fsyntax-only Same as -syntax. OFF
-funsigned-char Change default char type to unsigned. OFF
-funsigned-bitfields Change default bitfield type to unsigned. OFF
-idirafterdir Add directory (dir) to the second include file search path (after -I). OFF
-march=cpu
IA-32 only
Generate code excusively for a given cpu. Values for cpu are:
  • pentiumpro - Pentium® Pro and Pentium II processor instructions.
  • pentiumii - MMX(TM) instructions.
  • pentiumiii - Streaming SIMD extensions.
  • pentium4 - Pentium 4 instructions (default).
OFF
-mcpu=cpu Optimize for a specific cpu. Values for cpu are:
  • pentium - Optimize for Pentium processor.
  • pentiumpro - Optimize for Pentium Pro, Pentium II and Pentium III processors.
  • pentium4 - Optimize for Pentium 4 processor.
For Itanium-based Systems, cpu values are:
  • itanium - Optimize for Itanium processor.
  • itanium2 - Optimize for Itanium 2 processor (Default).
ON

pentium
on IA-32

itanium2
on Itanium-based
Systems

-MD Preprocess and compile. Generate output file (.d extension) containing dependency information. OFF
-MFfile Generate makefile dependency information in file. Must specify -M or -MM. OFF
-MG Similar to -M, but treats missing header files as generated files. OFF
-MM Similar to -M, but does not include system header files. OFF
-MMD Similar to -MD, but does not include system header files. OFF
-MX Generate dependency file (.o.dep extension) containing information used for the Intel wb tool. OFF
-mrelax Pass -relax to the linker. ON
-mno-relax Do not pass -relax to the linker. OFF
-mserialize-volatile
Itanium-based
systems only
Impose strict memory access ordering for volatile data object references. OFF
-mno-serialize-volatile
Itanium-based
systems only
The compiler may suppress both run-time and compile-time memory access ordering for volatile data object references. Specifically, the .rel/.acq completers will not be issued on referencing loads and stores. OFF
-nodefaultlibs Do not use standard libraries when linking. OFF
-Obn Controls the compiler's inline expansion. The amount of inline expansion performed varies with the value of n as follows:
  • 0: Disables inlining.
  • 1: Enables (default) inlining of functions declared with the __inline keyword. Also enables inlining according to the C++ language.
  • 2: Enables inlining of any function. However, the compiler decides which functions to inline. Enables interprocedural optimizations and has the same effect as -ip.
ON
-openmp_stubs Enables OpenMP* programs to compile in sequential mode. The OpenMP directives are ignored and a stub OpenMP library is linked sequentially. OFF
-std=c99
IA-32 only
Enable C99 support for C programs. ON
-tpp1
Itanium-based
systems only
Target optimization to the Itanium processor. OFF
-tpp2
Itanium-based
systems only
Target optimization to Itanium® 2 processor. Generated code is compatible with the Itanium processor. ON
-v Show driver tool commands and execute tools. OFF
-Wall Enable all warnings. OFF
-Werror Force warnings to be reported as errors. OFF