Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Visible to Intel only — GUID: GUID-32E7B1B9-008E-4978-B59C-EC50197EFF7A

Document Table of Contents

Specify Alternate Tools and Paths

This content does not apply to SYCL.

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

Linux

-Qlocation,tool,path

Windows

/Qlocation,tool,path

where tool designates which compilation tool is associated with the alternate path.

tool

Description

cpp

Specifies the preprocessor for the compiler.

c

Specifies the Intel® oneAPI DPC++/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:

Linux

-Qoption,tool,optlist

Windows

/Qoption,tool,optlist

where

  • tool designates which compilation tool receives the optlist
  • 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.