Input Files and Filename Extensions

The Intel Fortran Compiler interprets the type of each input file by its filename extension, such as .a, .f, .for, .o, and so on:

Filename

Interpretation

Action

filename.a

Object library

Passed to ld.

filename.f
filename
.ftn
filename
.for
filename
.i

Fortran fixed-form source

Compiled by the IntelŪ Fortran compiler.

filename.fpp
filename
.F
filename
.F90
filename
.FOR
filename
.FTN
filename
.FPP

Fortran fixed-form source

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

filename.f90
filename
.i90

Fortran free-form source

Compiled by the Intel Fortran compiler.

filename.s

Assembly file

Passed to the assembler (IA-32 compiler) or the Intel ItaniumŪ assembler (Itanium-based compiler).

filename.o

Compiled object file

Passed to ld.

You can use the compiler configuration file to specify default directories for input libraries. To specify additional directories for input files, temporary files, libraries, and for the files used by the assembler and the linker, use compiler options that specify output file and directory names.