Visible to Intel only — GUID: GUID-DF120360-7780-415F-ACF2-15A23D727801
Visible to Intel only — GUID: GUID-DF120360-7780-415F-ACF2-15A23D727801
Qlocation
Specifies the directory for supporting tools.
Syntax
Linux: |
-Qlocation,string,dir |
macOS: |
-Qlocation,string,dir |
Windows: |
/Qlocation,string,dir |
Arguments
string |
Is the name of the tool. |
dir |
Is the directory (path) where the tool is located. |
Default
OFF |
The compiler looks for tools in a default area. |
Description
This option specifies the directory for supporting tools.
string can be any of the following:
f - Indicates the Intel® Fortran compiler.
fpp (or cpp) - Indicates the Intel® Fortran preprocessor or a user-specified (alternate) Fortran preprocessor.
asm - Indicates the assembler.
link - Indicates the linker.
prof - Indicates the profiler.
On Windows* systems, the following is also available:
masm - Indicates the Microsoft assembler.
On Linux* and macOS systems, the following are also available:
as - Indicates the assembler.
gas - Indicates the GNU assembler. This setting is for Linux* only.
ld - Indicates the loader.
gld - Indicates the GNU loader. This setting is for Linux* only.
lib - Indicates an additional library.
crt - Indicates the crt%.o files linked into executables to contain the place to start execution.
On Windows and macOS systems, you can also specify a tool command name.
The following shows an example on macOS systems:
-Qlocation,ld,/usr/bin ! This tells the driver to use /usr/bin/ld for the loader -Qlocation,ld,/usr/bin/gld ! This tells the driver to use /usr/bin/gld as the loader
The following shows an example on Windows* systems:
/Qlocation,link,"c:\Program Files\tools\" ! This tells the driver to use c:\Program Files\tools\link.exe for the loader /Qlocation,link,"c:\Program Files\tools\my_link.exe" ! This tells the driver to use c:\Program Files\tools\my_link.exe as the loader
IDE Equivalent
Alternate Options
None
Example
The following command provides the path for the fpp tool:
ifort -Qlocation,fpp,/usr/preproc myprog.f