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:
|
OFF |
| -mcpu=cpu | Optimize for a specific cpu. Values
for cpu are:
|
ON
pentium itanium2 |
| -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:
|
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 |