FORTRAN Reference Manual

FORTRAN Reference Manual528615-001
10-1
10 Compiler Directives
You use compiler directives to specify and control many aspects of a compilation, such
as:
To specify listing features
To specify alternate source files
To enable run-time bounds checking
To control data allocation
To specify data area size
To control how the $RECEIVE file is used at run-time
To control the building of object files
To specify the line length for source input files
To declare procedures not written in FORTRAN
To specify user libraries
To save compiler directive values
Table 10-1. Summary of Compiler Directives (page 1 of 4)
Directive Action
ABORT Specifies compiler action if a file named in a SOURCE or CONSULT
directive cannot be opened. Default is ABORT.
ANSI Treats columns 73 through 132 as comments. Default is NOANSI.
BOUNDSCHECK Compiler generates code to verify array subscripts at run-time.
Default is NOBOUNDSCHECK.
CODE Lists octal instruction codes for each program unit, following source
listing. Default is NOCODE.
COLUMNS Defines the line length of records in a source file. Default is
COLUMNS 132.
COMPACT Attempts to compact code space of object code. Default is
NOCOMPACT.
CONSULT Declares procedures not written in FORTRAN.
CROSSREF Generates cross-reference information for selected identifier
classes.
DATAPAGES Specifies the number of virtual memory pages to allocate for data
storage in the user data segment.
ENDIF Terminates the effect of a preceding IF or IFNOT directive.
ENV Specifies whether the process containing this program uses the
C-series runtime library or the D-series run-time library. Default is
ENV OLD.