Intel® C++ Compiler 16.0 User and Reference Guide

Specifying Alternate Tools and Paths

Use the Qlocation option to specify an alternate path for a tool. This option accepts two arguments using the following syntax:

Qlocation Syntax

# (Linux* and OS X*)
-Qlocation,tool,path
# (Windows*)
/Qlocation,tool,path
where tool designates which compilation tool is associated with the alternate path.

tool

Description

cpp

Specifies the compiler front-end preprocessor.

c

Specifies the C++ compiler.

asm

Specifies the assembler.

link

Specifies the linker.

Use the Qoption option to pass an option specified by optlist to a tool, where optlist is a comma-separated list of options. The syntax for this command is:

Qoption Syntax

# (Linux* and OS X*)
-Qoption,tool,optlist
# (Windows*)
/Qoption,tool,optlist
where tool designates which compilation tool receives the optlist.

tool

Description

cpp

Specifies the compiler front-end preprocessor.

c

Specifies the C++ compiler.

asm

Specifies the assembler.

link

Specifies the linker.

optlist indicates one or more valid argument strings for the designated program. If the argument is a command-line option, you must include the hyphen. If the argument contains a space or tab character, the entire argument must be enclosed in quotation characters (""). Separate multiple arguments with commas.