Maps one or more compiler options to their equivalent on a different operating system.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -map-opts |
Windows: | /Qmap-opts |
None
OFF | No platform mappings are performed. |
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.
Note
Compiler options are mapped to their equivalent
on the architecture you are using.
For example, if you are using an IA-32 processor, you will only see equivalent
options that are available on IA-32 processors.
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:
ifort -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:
ifort /Qmap-opts /QxP /O2
Building Applications: Option Mapping Tool