This topic lists alternate names for compiler options and show the primary option name. Some of the alternate option names are deprecated and may be removed in future releases.
For more information on compiler options, see the detailed descriptions of the individual, primary options.
Some of these options are deprecated. For more information, see Deprecated and Removed Options.
Alternate Linux* and macOS* Options |
Primary Option Name |
---|---|
Code Generation: |
|
-fp |
|
-mcpu |
|
Advanced Optimizations: |
|
-funroll-loops |
|
Profile Guided Optimization (PGO): |
|
-pg |
|
-qp |
|
OpenMP* and Parallel Processing Options: |
|
-fopenmp Note |
|
Floating-Point: |
|
-mieee-fp |
|
Output, Debug, Precompiled Header (PCH): |
|
-fvar-tracking |
|
-fvar-tracking-assignments |
|
-V |
|
Preprocessor: |
|
-cpp |
|
-DD |
|
-nodefine |
|
-nostdinc |
|
-P |
|
Language: |
|
-72 -80 -132 |
|
-C |
|
-CB |
|
-common-args |
|
-CU |
|
-FI |
|
-FR |
|
-fsyntax-only |
|
-mixed-str-len-arg |
No equivalent on Linux* or macOS* systems. On Windows* systems, /iface:mixed_str_len_arg |
-nbs |
|
-std -std90 -std95 -std03 |
|
-y |
|
-Zp |
|
Data: |
|
-autodouble |
|
-automatic |
|
-i2 -i4 -i8 |
|
-r8 -r16 |
|
Compiler Diagnostics: |
|
-e90 -e95 -e03 |
|
-error-limit |
|
-implicitnone |
|
-u |
|
-w |
|
-W0 -W1 |
|
Compatibility: |
|
-66 |
|
-onetrip |
|
Linking or Linker: |
|
-i-dynamic |
|
-i-static |
Alternate Windows* Options |
Primary Option Name |
---|---|
Optimization: |
|
/Ox |
|
OpenMP* and Parallel Processing Options: |
|
/openmp Note |
|
Floating Point: |
|
/QIfist |
|
Output, Debug, Precompiled Header (PCH): |
|
/compile-only |
|
/Fe |
|
/Fo |
|
/nolink |
|
/pdbfile |
|
/V |
|
Preprocessor: |
|
/define |
|
/include |
|
/nodefine |
|
/noinclude |
|
/undefine |
|
Language: |
|
/4L72 /4L80 /4L132 |
|
/4Naltparam /4Yaltparam |
|
/4Nf /4Yf |
|
/4Ns /4Ys |
|
/C |
|
/CB |
|
/CU |
|
/FI |
|
/FR |
|
/Gm |
|
/Gz |
|
/nbs |
|
/Qcommon-args |
|
/RTCu |
|
/Zp |
|
/Zs |
|
Data: |
|
/4I2 /4I4 /4I8 |
|
/4Na /4Ya |
|
/4R8 /4R16 |
|
/automatic |
|
/Qauto |
|
/Qautodouble |
|
/Zp |
|
Compiler Diagnostics: |
|
/4Nd /4Yd |
|
/error-limit |
|
/w |
|
/W0 /W1 |
|
Compatibility: |
|
/Qonetrip |
|
Linking or Linker: |
|
/LD |
|
/MG |
|
/MW |
|
/MWs |
|
Miscellaneous: |
|
/V |
|
/Zl |