Qoption

Passes options to a specified tool.

IDE Equivalent

None

Architectures

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

Syntax

Linux and Mac OS: -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 or -ipo (Linux and Mac OS), or /Qip 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

The following command activates procedural and interprocedural optimizations on source.cpp and sets the maximum increase in the number of intermediate language statements to 5 for each function:

On Windows systems:

icl /Qip /Qoption,c,-ip_ninl_max_stats=5 source.cpp

On Linux and Mac OS systems:

icpc -ip -Qoption,c,-ip_ninl_max_stats=5 source.cpp

See Also

Qlocation compiler option