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 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 including those in quotation marks.
The following example directs the linker to link with alternate I/O library for mixed output with the C language for respective targeted compilations.
IA-32 applications:
prompt>ifc -Qoption,link,-C90 prog1.f
ItaniumŪ-based applications:
prompt>efc -Qoption,link,-C90 prog1.f