Default Behavior of the Compiler

By default, the compiler generates executable file(s) of the input file(s) and performs the following actions:

For unspecified options, the compiler uses default settings or takes no action. If the compiler cannot process a command-line option, that option is passed to the linker.

Default Libraries and Tools

For the libraries provided with Intel® Fortran Compiler, see IA-32 compiler libraries list  and Itanium compiler libraries list.

The default tools are summarized in the table below.

Tool

Default

Provided with Intel Fortran Compiler

IA-32 Assembler

Linux Assembler, as

No

Itanium(TM) Assembler

Intel® Itanium(TM) Assembler

Yes

Linker

 

No

You can specify alternate to default tools and locations for preprocessing, compilation, assembly, and linking.

Assembler

By default, the compiler generates an object file directly without calling the assembler. However, if you need to use specific assembly input files and then link them with the rest of your project, you can use an assembler for these files.

IA-32 Applications

For 32-bit applications, Linux supplies its own assembler, as. For Itanium-based applications, to compile to assembly files and then use an assembler to produce executables, use the Itanium assembler, ias.

Itanium-based Applications

If you need to assemble specific input files and link them to the rest of your project object files, produce object files using Intel® Itanium(TM) assembler with ias command. For example, if you want to link some specific input file to the Fortran project object file, do the following:

1. Issue command using -S option to generate assembly code file, file.s.

prompt>efc -S -c file.f

2. To assemble the file.s file, call Itanium(TM) assembler with this command:

prompt>ias -c -coff file.s

The above command generates an object file which you can link with the Fortan object file of the whole project.

Linker

The compiler calls the system linker, ld(1), to produce an executable file from object files. The linker searches the environment variable LD_LIBRARY_PATH to find available libraries.