Developer Guide and Reference

Contents

map-opts, Qmap-opts

Maps one or more compiler options to their equivalent on a different operating system.

Syntax

Linux:
-map-opts
macOS:
None
Windows:
/Qmap-opts
Arguments
None
Default
OFF
No platform mappings are performed.
Description
This option maps one or more compiler options to their equivalent on a different operating system. The result is output to
stdout
.
On Windows systems, the options you provide are presumed to be Windows options, so the options that are output to
stdout
will be Linux equivalents.
On Linux systems, the options you provide are presumed to be Linux options, so the options that are output to
stdout
will be Windows equivalents.
The tool can be invoked from the compiler command line or it can be used directly.
No compilation is performed when the option mapping tool is used.
This option is useful if you have both compilers and want to convert scripts or makefiles.
Compiler options are mapped to their equivalent on the architecture you are using. For example, if you are using a processor with IA-32 architecture, you will only see equivalent options that are available on processors with IA-32 architecture.
Alternate Options
None
The following command line invokes the option mapping tool, which maps the Linux options to Windows-based options, and then outputs the results to
stdout
:
icc -map-opts -xP -O2
The following command line invokes the option mapping tool, which maps the Windows options to Linux-based options, and then outputs the results to
stdout
:
icl /Qmap-opts /QxP /O2

Product and Performance Information

1

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