The Intel® Fortran Compiler lets you specify alternate to default tools and locations for preprocessing, compilation, assembly, and linking. Further, you can invoke options specific to your alternate tools on the command line. This functionality is provided by -Qlocation and -Qoption.
-Qlocation enables to specify the pathname locations of supporting tools such as the assembler, linker, preprocessor, and compiler. This option's syntax is:
-Qlocation,tool,path
tool |
Designates one or more of these tools: fpp Intel
Fortran preprocessor |
path |
The location of the component. |
Example:
prompt>ifc -Qlocation,fpp,/usr/preproc myprog.f
-Qoption passes an option specified by opts to a tool, where opts is a comma-separated list of options. The syntax for this option is:
-Qoption,tool,opts
tool |
Designates one or more of these tools: fpp Intel
Fortran preprocessor |
opts |
Indicates one or more valid argument strings for the designated program. |
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.
The following example directs the linker to create a memory map when the compiler produces the executable file from the source for respective targeted compilations.
IA-32 applications:
prompt>ifc -Qoption,link,-map,prog1.map prog1.f
Itanium(TM)-based applications:
prompt>efc -Qoption,link,-map,prog1.map prog1.f