Developer Guide and Reference

Contents

Portability Options

A challenge in porting applications from one compiler to another is making sure there is support for the compiler options you use to build your application. The Intel® C++ Compiler supports many of the options that are valid on other compilers you may be using.
The following sections list compiler options that are supported by the Intel® C++ Compiler and the following:
Options that are unique to either compiler are not listed in these sections.

Options Equivalent to Microsoft* C++ Options (Windows*)

The following table lists compiler options that are supported by both the Intel® C++ Compiler and the Microsoft* C++ compiler.
For complete details about these options, for example, the possible values for <n> when it appears below, see the Microsoft Visual Studio* C++ documentation.
/arch
/C
/c
/D<name>{=|#}<text>
/E
/EH{a|s|c|r}
/EP
/F<n>
/Fa[file]
/FA[{c|s|cs}]
/FC
/Fe<file>
/FI<file>
/Fm[<file>]
/Fo<file>
/fp:<model>
/Fp<file>
/FR[<file>]
/Fr[<file>]
/GA
/Gd
/Ge
/GF
/Gh
/GH
/Gr
/GR[-]
/GS[-]
/Gs[<n>]
/GT
/Gy[-]
/Gz
/GZ
/H<n>
/help
/I<dir>
/J
/LD
/LDd
/link
/MD
/MDd
/MP
/MT
/MTd
/nologo
/O1
/O2
/Ob<n>
/Od
/Oi[-]
/Os
/Ot
/Ox
/Oy[-]
/P
/QIfist[-]
/RTC{1|c|s|u}
/showIncludes
/TC
/Tc<source file>
/TP
/Tp<source file>
/u