COMPILE Translates source programs
SYNTAX
COMPILE[/options] filespecs[/options]
SEMANTICS
To compile multiple files (up to six) into a single OBJ file,
separate the files with plus (+) signs in the command line.
Multiple files separated by commas (,) are compiled
independently. You establish which compiler is invoked by
specifying the compiler as a command or file option, by
explicitly specifying the source file type, or by letting the
system search for the file type.
The default file types for output files are .LST for listing
files and .OBJ for binary files. Default file types for input
are .MAC for macro programs, .FOR for FORTRAN programs,
and .DBL for DIBOL programs.
OPTIONS
ALLOCATE:size
Reserves space for an output file
ALPHABETIZE DIBOL
Alphabetizes the symbol table
BUFFERING DIBOL
Causes compiler to use single buffered I/O
CHECK FORTRAN
Specifies array references are to be checked by the compiler
CODE:type FORTRAN
Specifies the type of machine code to generate
CONTINUATIONS:n FORTRAN
Specifies the maximum number of continuation lines
CROSSREFERENCE[:type[...:type]] MACRO/DIBOL
Generates a cross-reference table in the listing file
DIAGNOSE FORTRAN
Expands compiler crash dump information
DIBOL
Uses the DIBOL compiler to translate the source files
DISABLE:type[...:type] MACRO
Specifies a .DSABL directive
ENABLE:type[...:type] MACRO
Specifies an .ENABL directive
EXTEND FORTRAN
Enables 80-column source input
F4 FORTRAN
Uses the FORTRAN IV compiler to translate the source files
F77 FORTRAN
Uses the FORTRAN 77 compiler to translate the source files
FORTRAN FORTRAN
Uses the default FORTRAN compiler to translate source programs;
change the default with the command SET FORTRA
HEADER FORTRAN
Includes the "options-in-effect" header in the listing file
I4 FORTRAN
Allocates 4 bytes for single-precision integers
LIBRARY MACRO
Identifies a file as a macro library file
LINENUMBERS DIBOL/FORTRAN (default)
Includes internal sequence numbers in the compiled program
LIST[:filespec]
Produces a listing file
LOG[:filespec] DIBOL
Creates a log file of compiler error messages
MACRO
Uses the MACRO assembler to translate source programs
NOLINENUMBERS DIBOL/FORTRAN
Suppresses internal sequence numbers in compiled programs
NOOBJECT
Suppresses output of the binary object file
NOOPTIMIZE FORTRAN
Suppresses compiler optimization
NOSHOW:value MACRO
Specifies an .NLIST directive
NOSWAP FORTRAN
Causes a compiled program to keep the USR resident while
running
NOVECTORS FORTRAN
Specifies array access by multiplication operations
NOWARNINGS DIBOL/FORTRAN
Suppresses warning messages during compilation
OBJECT[:filespec]
Specifies a file name for the object file
ONDEBUG DIBOL/FORTRAN
Compiles D lines in FORTRAN; includes a symbol table in DIBOL
binary output
OPTIMIZE FORTRAN
Requests compiler optimization
PAGE:n DIBOL
Sets listing page length (default = 66)
RECORD:length FORTRAN
Alters the default record length for sequential ASCII
formatted I/O
SHOW:type FORTRAN/MACRO
Specifies a .LIST directive to MACRO; controls FORTRAN listing
contents
STATISTICS FORTRAN
Includes compilation statistics in the listing file
SWAP FORTRAN (default)
Causes a compiled program to swap the USR during execution
TABLES DIBOL
Includes symbol and label tables in listing
TRACE:n FORTRAN
Controls amount of extra code included in compiler output
for use by the OTS for traceback
UNITS:n FORTRAN
Specifies the number of logical units that can be open at once
VECTORS FORTRAN (default)
Specifies array access by tabular lookup
WIDE
Produces a wide map on a compiler listing created by FORTRAN 77
and a wide LINK map
WARNINGS DIBOL/FORTRAN
Includes warning messages in the listing file
WORKFILES FORTRAN
Sets length of workfile (in blocks)
EXAMPLES
COMPILE/LIST MYPROG.FOR
COMPILE/FORTRAN/LIST:FILE1.LST A+B
COMPILE A.MAC/LIST,B.FOR
Tim Shoppa
7328 Bradley Blvd
Bethesda, MD 20817
Voice:+1 301 767 5917
Fax:+1 301 767 5927
Email:shoppa@trailing-edge.com