This section describes all the Linux* and Windows* compiler options.
Each option description contains the following information:
A short description of the option.
IDE Equivalent
This shows information related to the integrated development environment (IDE) Property Pages on Windows and Linux. It shows on which Property Page the option appears, and under what category it's listed. The Windows IDE is Microsoft* Visual Studio* .NET; the Linux IDE is Eclipse. If the option has no IDE equivalent, it will specify "None". Note that in this release, there is no IDE support for Fortran on Linux.
Architectures
This shows the architectures where the option is valid. Possible architectures are:
IA-32
IA-32-based systems with IntelŪ Extended Memory 64 Technology (IntelŪ EM64T)
IntelŪ ItaniumŪ architecture
Syntax
This shows the syntax on Linux systems and the syntax on Windows systems. If the option has no syntax on one of these systems, that is, the option is not valid on a particular system, it will specify "None".
Arguments
This shows any arguments (parameters) that are related to the option. If the option has no arguments, it will specify "None".
Default
This shows the default setting for the option.
Description
This shows the full description of the option. It may also include further information on any applicable arguments.
Alternate Options
These are options that are synonyms of the described option. If there are no alternate options, it will specify "None".
Some option descriptions may also have the following:
Example
This shows a short example that includes the option
See Also
This shows where you can get further information on the option or related options.
You cannot combine options with a single dash (Linux) or slash (Windows). For example:
On Linux systems: This is incorrect: -wc; this is correct: -w -c
On Windows systems: This is incorrect: /wc; this is correct: /w /c
Some compiler options are case-sensitive. For example, -c (or /c) and -C (or /C) are two different options.
Options specified on the command line apply to all files named on the command line.
Options can take arguments in the form of file names, strings, letters, or numbers. If a string includes spaces, the string must be enclosed in quotation marks. For example:
On Linux systems, -dynamic-linkermylink (file name) or -Umacro3 (string)
On Windows systems, /Famyfile.s (file name) or /V"version 5.0" (string)
Compiler options can appear in any order.
On Windows systems, all compiler options must precede /link options, if any, on the command line.
Unless you specify certain options, the command line will both compile and link the files you specify.
You can abbreviate some option names, entering as many characters as are needed to uniquely identify the option.
Certain options accept one or more keyword arguments following the option name. For example, the arch option accepts several keywords.
To specify multiple keywords, you typically specify the option multiple times. However, there are exceptions; for example, the following are valid: -axNB (Linux) or /QaxNB (Windows).
Note
On Windows systems, you can sometimes use a comma to separate keywords. For example, the following is valid:
ifort /warn:usage,declarations test.f90
On these systems, you can use an equals sign (=) instead of the colon:
ifort /warn=usage,declarations test.f90
Compiler options remain in effect for the whole compilation unless overridden by a compiler directive.
To disable an option, specify the negative form of the option.
On Windows systems, you can also disable one or more options by specifying option /Od last on the command line.
Note
On Windows systems, the /Od option is part of a mutually-exclusive group of options that includes /Od, /O1, /O2, /O3, and /Ox. The last of any of these options specified on the command line will override the previous options from this group.
If there are enabling and disabling versions of an option on the command line, the last one on the command line takes precedence.
You can print a list of the compiler options by specifying the help option.