Lahey/Fujitsu Fortran

Compiler and Linker Options

You can control compilation and linking by using the options presented in the following sections. These options are not case sensitive. Some options apply only to the compilation phase, others to the linking phase, and still others (-g and -win) to both phases; this is indicated next to the name of the option. If compilation and linking are performed separately (i.e., in separate command lines), then options that apply to both phases must be included in each command line.

Option List:

-[n]ap ensure consistent arithmetic precision

-[n]blas link with optimized BLAS library

-block <value> set default block size for open statements

-[n]c suppress linking

-[n]chk <args> checking

-[n]chkglobal global checking

-[n]co display compiler options

-[n]concc control Fortran carriage control in console I/O

-[n]cover generate coverage analysis information at runtime

-[n]dal deallocate allocated arrays

-[n]dbl extend single precision reals to double precision

-[n]dll generate a dynamic link library

-[n]f95 turn on F95 conformance warnings

-file <name> use <name> literally as a file name

-[n]fix assume fixed form

-[n]g generate debugging information

-i <path> specify directory(s) containing include file

-[n]in no implicit typing

-[n]info display informational messages

-[n]inline <args> inline user defined procedures

-[n]lapack link with optimized LAPACK library

-[n]li Lahey intrinsic procedures

-[n]long extend integer*4 to integer*8

-[n]lst <args> create source listings

-[n]maxfatals <value> specify maximum fatal errors before stopping

-ml <target> specify mixed language target

-mldefault <target> specify default mixed language target

-mod <path> path for module files

-o0 no optimizations

-o1 classical, memory, and interprocedural optimizations

-o2 -o1 plus loop and array optimizations

-o <name> specify object file name

-out <name> specify output file name

-[n]pca protect constant arguments

-[n]pause pause after program complete

-[n]prefetch <value> prefetch optimizations

-[n]private set default private accessibility

-[n]quad extend double precision reals to quad precision

-[n]sav save local variables

-[n]sse2 optimize using SSE2 instructions

-[n]ssl2 link with optimized SSL II library

-[n]staticlib use static Fortran libraries

-[n]staticlink static link with another language

-[n]stchk generate stack checking code

-[n]swm <args> suppress warning messages

-tp generate Pentium code

-tpp generate Pentium Pro code

-tp4 generate Pentium 4 code

-[n]trace enable runtime error traceback

-[n]trap <args> trap ndp exceptions

-[n]unroll control loop unrolling

-[n]varheap allocate local variables on heap

-[n]verbose output detailed information for each compilation phase

-version display version and owner information only

-[n]vsw very simple windows

-[n]w display warnings

-[n]wide wide fixed form line length

-win create Windows application

-winconsole create Windows console application

-[n]wisk use Winteracter Starter Kit

-[n]wo warn if obsolescent feature

-[n]xref <args> create cross reference listings

-[n]zero initialize variables to zero

-[n]zfm enable flush-to-zero mode for SSE2 instructions

See Also

Specifying Options