Qoption

Passes options to a specified tool.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -Qoption,string,options
Windows:  /Qoption,string,options

Arguments

string Is the name of the tool.
options Are one or more comma-separated, valid options for the designated tool.

Default

OFF No options are passed to tools.

Description

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:

Alternate Options

None

Example

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

See Also

Qlocation compiler option