.\" Copyright (c) 1991 The Regents of the University of California.
.\" This module is believed to contain source code proprietary to AT&T.
.\" Use and redistribution is subject to the Berkeley Software License
.\" Agreement and your Software Agreement with AT&T (Western Electric).
.\" This module is believed to contain source code proprietary to AT&T.
.\" Use and redistribution is subject to the Berkeley Software License
.\" Agreement and your Software Agreement with AT&T (Western Electric).
.\" @(#)f77.1 6.10 (Berkeley) 8/8/91
It accepts several types of arguments:
Arguments whose names end with `.f' are taken to be
Fortran 77 source programs;
each object program is left on the file in the current directory
whose name is that of the source with `.o' substituted
Arguments whose names end with `.F' are also taken to be Fortran 77 source
programs; these are first processed by the C preprocessor before being
Arguments whose names end with `.r' or `.e' are taken to be Ratfor
source programs respectively; these are first transformed by the
appropriate preprocessor, then compiled by
Arguments whose names end with `.c' or `.s' are taken to be C or assembly
source programs and are compiled or assembled, producing a `.o' file.
The following options have the same meaning as in
Suppress loading and produce `.o' files for each source
Produce additional symbol table information for
so that on abnormal terminations, the memory image is written
Name the final output file
Prepare object files for profiling, see
Causes the compiler to produce counting code in the manner of
but invokes a run-time recording mechanism that keeps more extensive
statistics and produces a
file at normal termination. An execution profile can then be generated
Suppress all warning messages.
only Fortran 66 compatibility warnings are suppressed.
.It Fl D Ns Ar name Ns =def
to the C preprocessor, as if by `#define'. If no definition is given, the name
is defined as "1". (`.F' suffix files only).
`#include' files whose names do not begin with `/' are always sought
first in the directory of the
argument, then in directories named in
options, then in directories on a standard list. (`.F' suffix files only).
Compile the named programs, and leave the
assembler-language output on corresponding files suffixed `.s'.
The following options are peculiar to
Used for debugging the compiler.
On machines which support short integers, make the default integer constants
is the standard value of this option). All logical quantities will be short.
Suppress printing of file names and program unit names during compilation.
Apply the M4 preprocessor to each `.r' file before transforming
Compile DO loops that are performed at least once if reached.
(Fortran 77 DO loops are not performed
at all if the upper limit is smaller than the lower limit.)
Treat all floating point variables,
constants, functions and intrinsics
as double precision and all complex
quantities as double complex.
Make the default type of a variable `undefined' rather than using the default Fortran rules.
Print the version number of the compiler, and the name of each pass as it
Compile code to check that subscripts are within declared array bounds.
For multi-dimensional arrays, only the equivalent linear subscript is checked.
Apply the C preprocessor to `.F' files, and the
to `.e' and `.r' files, put the
result in the file with the suffix changed to `.f', but do not compile.
as an EFL option in processing `.e' files.
as a Ratfor option in processing `.r' files.
Make static tables in the compiler bigger. The compiler will complain
if it overflows its tables and suggest you apply one or more of these
flags. These flags have the following meanings:
Maximum number of equivalenced variables. Default is 150.
Maximum number of external names (common block names, subroutine and
function names). Default is 200.
Maximum number of statement numbers. Default is 401.
Maximum depth of nesting for control statements (e.g. DO loops). Default is
Maximum number of identifiers. Default is 1009.
Do not convert upper case letters to lower case. The default is to convert
Fortran programs to lower case except within character string constants.
to be either loader option arguments, or
object programs, typically produced by an earlier
These programs, together with the results of any
compilations specified, are loaded (in the order
given) to produce an executable program with name
produce memory dumps in file
upon abnormal termination if the
flag was specified during loading.
If the environment variable
is set to a value beginning with
dumps for abnormal terminations are respectively forced or
.Bl -tag -width /usr/lib/libI77_p.a -compact
Intrinsic function library.
C library, see section 3.
.It Pa /usr/lib/libF77_p.a
Profiling intrinsic function library.
.It Pa /usr/lib/libI77_p.a
Profiling Fortran I/O library.
.It Pa /usr/lib/libU77_p.a
Profiling C library, see section 3.
File produced for analysis by
File produced for analysis by
.%T "A Portable Fortran 77 Compiler"
.%T "Introduction to the F77 IO Library"
The diagnostics produced by
itself are intended to be
Occasional messages may be produced by the loader.
Files longer than about 50,000 lines must be split up to be compiled.