Intel® Fortran Compiler 16.0 User and Reference Guide

Qlocation

Specifies the directory for supporting tools.

Architecture Restrictions

Not available on Intel® 64 architecture targeting the Intel® Xeon Phi™ coprocessor x100 product family (formerly code name Knights Corner)

Syntax

Linux and OS X:

-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:

On Windows and OS X* systems, you can also specify a tool command name.

The following shows an example on OS X* 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

None

Alternate Options

None

Example

The following command provides the path for the fpp tool:

ifort -Qlocation,fpp,/usr/preproc myprog.f

See Also