Input Files

The Intel® Fortran Compiler interprets the type of each input file by the filename extension; for example, .a, .f, .for, .o, and so on.

Filename

Interpretation

Action

filename.a

object library

Passed to ld.

filename.f

 Fortran source

Compiled by Intel® Fortran Compiler, assumes fixed-form source.

filename.ftn

Fortran source

Compiled by Intel Fortran Compiler; assumes fixed form source.

filename.for

Fortran source

Compiled by Intel Fortran Compiler; assumes fixed form source.

filename.fpp

Fortran fixed-form source

Preprocessed by the Intel Fortran preprocessor fpp; then compiled by the Intel Fortran Compiler.

filename.f90

Fortran 90/95 source

Compiled by Intel Fortran Compiler; free-form source.

filename.F

Fortran fixed-form source

Passed to preprocessor (fpp) and then compiled by the Intel Fortran compiler

filename.s

IA-32 assembly file

Passed to the assembler.

filename.s

Itanium(TM) assembly file

Passed to the Intel Itanium assembler.

filename.o

Compiled object module

Passed to ld(1).

You can use the compiler configuration file ifc.cfg for IA-32 or efc.cfg for Itanium-based applications to specify default directories for input libraries and for work files. To specify additional directories for input files, temporary files, libraries, and for the assembler and the linker, use compiler options that specify output file and directory names.