Using the Option Mapping Tool

The Intel compiler's Option Mapping Tool provides an easy method to derive equivalent options between Windows* and Linux*operating systems. If you are a Windows OS developer who is developing an application for Linux OS, you may want to know, for example, the Linux OS equivalent for the /Oy- option. Likewise, the Option Mapping Tool provides Windows OS equivalents for Intel compiler options supported on Linux OS.

Note iconNote

The Compiler Option Mapping Tool does not run on Mac OS* X.

Using the Compiler Option Mapping Tool

You can start the Option Mapping Tool from the command line by:

Note iconNote

The Compiler Option Mapping Tool only maps compiler options on the same architecture. It will not, for example, map an option that is specific to the Intel® 64 architecture to a like option available on the IA-32 architecture.

Calling the Option Mapping Tool with the Compiler

If you use the compiler to execute the Option Mapping Tool, the following syntax applies:

<compiler command> <map-opts option> <compiler option(s)>

Example: Finding the Windows OS equivalent for -fp

ifort -map-opts -fp
Intel(R) Compiler option mapping tool
mapping Linux OS options to Windows OS for Fortran
'-map-opts' Linux OS option maps to
  --> '-Qmap-opts' option on Windows OS
  --> '-Qmap_opts' option on Windows OS
'-fp' Linux OS option maps to
  --> '-Oy-' option on Windows OS

Note iconNote

Output from the Option Mapping Tool also includes:

Calling the Option Mapping Tool Directly

Use the following syntax to execute the Option Mapping Tool directly from a command line environment where the full path to the map-opts executable is known (compiler bin directory):

map-opts -t<target OS> -l<language> -opts <compiler option(s)>

where values for:

Example: Finding the Windows equivalent for -fp

map-opts -tw -lf -opts -fp
Intel(R) Compiler option mapping tool
mapping Linux OS options to Windows OS for Fortran
'-fp' Linux OS option maps to
  --> '-Oy-' option on Windows OS

Submit feedback on this help topic

Copyright © 1996-2010, Intel Corporation. All rights reserved.