Specifying Alternate Tools and Locations

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

-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,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, you must enclose the entire argument in quotation characters (""). You must separate multiple arguments with commas.