Passes options to a specified tool.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux: | -Qoption,string,options |
Windows: | /Qoption,string,options |
string | Is the name of the tool. |
options | Are one or more comma-separated, valid options for the designated tool. |
OFF | No options are passed to tools. |
This option passes options to a specified tool. To use this option, you must also specify -ip (Linux), /Qip (Windows), -ipo (Linux), or /Qipo (Windows).
If an argument contains a space or tab character, you must enclose the entire argument in quotation marks (" "). You must separate multiple arguments with commas.
string can be any of the following:
f - Indicates the Intel Fortran compiler.
fpp (or cpp) - Indicates the Intel Fortran preprocessor.
as - Indicates the assembler.
gas - Indicates the GNU assembler.
ld - Indicates the loader.
gld - Indicates the GNU loader.
lib - Indicates an additional library.
crt - Indicates the crt%.o files linked into executables to contain the place to start execution.
None
On Linux systems:
The following example directs the linker to link with an alternative library:
ifort -Qoption,link,-L.,-Lmylib prog1.f
On Windows systems:
The following example directs the linker to create a memory map when the compiler produces the executable file from the source being compiled:
ifort /Qoption,link,/map:prog1.map prog1.f
The following command activates procedural and interprocedural optimizations on source.f and sets the maximum increase in the number of intermediate language statements to 5 for each function:
On Windows systems:
ifort /Qip /Qoption,f,-ip_ninl_max_stats=5 source.f
On Linux systems:
ifort -ip -Qoption,f,-ip_ninl_max_stats=5 source.f
Qlocation compiler option