User Guide

  • XX.XX
  • 04/09/2020
  • Public Content


Specifies the target platform for cross compilation.
-platform=default|<target platform>|<embedded target platform>
Disables previously defined
, and
values and forces compiler to generate code for the default target. The example below uses Linux*.
embedded target platform
Specifies the Linux target.
This option specifies the target platform for cross compilation. If you do not specify the
option, the compiler will build a Linux* operating system native application. If you do not specify an argument, you will receive an error message. Using the
value for the option disables previously defined values for
option as well as for
, and
options, and forces the compiler to generate code for the default target platform.
For information about the
compiler options, see the Intel® C++ Compiler 19.1 Developer Guide and Reference.
Example 1:
To compile a C language source file (for example,
) for a Linux target, use a command similar to the following:
icc -platform=linux my_source_file.c

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804