User`s guide

FORTRAN
Parameter
filespec[s]
Specifies one or more files to be included in the compilation.
The default input file type for a source file is FOR. The default output file type
for a listing file is LST and for an object file is OBJ.
Compiling Multiple Source Files
To compile multiple source files into a single object file, separate the files with
plus (+) signs in the command line. RT–11 creates an object file with the same
name as the first input file and gives it an OBJ file type, unless you specify
a different name and type.
To compile multiple source files in independent compilations, separate the
files with commas (,) in the command line. This generates a corresponding
object file for each input file or for each set of input files.
Description
Language options are position dependent—that is, they have different meanings
depending on where you place them in the command line. Options that follow the
FORTRAN command apply across the entire command string. Options that follow a
file specification apply only to the file (or group of files separated by plus signs) that
they follow.
Differences Between FORTRAN IV Options and FORTRAN–77 Options
Options supported only under FORTRAN IV are indicated by the phrase
(FORTRAN IV only) at the beginning of their descriptions.
Options supported only under FORTRAN–77 are indicated by the phrase
(FORTRAN–77 only) at the beginning of their descriptions.
Options supported by both FORTRAN compilers have no restrictions
at the beginning of their descriptions.
In addition, some options, such as /SHOW:type, take different arguments or are in
some other way not the same, depending on the FORTRAN compiler. For further
information, see the appropriate FORTRAN user guide.
Two FORTRAN–77 Compilers—One FORTRAN IV Compiler
There are two FORTRAN–77 compilers; your monitor determines which one you
need. If you have invoked FORTRAN–77 and you have a mapped monitor, the
FORTRAN command calls the F77XM.SAV monitor; if you have invoked FORTRAN–
77 and you have an unmapped monitor, the FORTRAN command calls the F77.SAV
monitor.
There is only one FORTRAN IV compiler, FORTRA.SAV.
RT–11 Command Descriptions 131