Lahey/GNU Fortran

-[n]fix

Fixed Source Form

Compile only. Default: -nfix for .f90 and .LF files; -fix for .for and .f files

GFortran options: -ffree-form, -ffixed-form

Specify -fix to instruct the compiler to interpret source files as Fortran 90 fixed source form regardless of the file extension. -nfix instructs the compiler to interpret source files as Fortran 90 free source form regardless of the file extension.

Example

LF95 @bob.rsp bill.f90

If the command file BOB.RSP contains -fix, BILL.F90 will be interpreted as fixed source form even though it has the free source form extension .F90.

LGF assumes a default file extension of .f90. Specifying -fix causes LGF to assume a default file extension of .for.

All source files compiled at the same time must be fixed or free. LGF doesn't compile files (including INCLUDE files) that mix both fixed and free source form.