FORTRAN Reference Manual

Program Compilation
FORTRAN Reference Manual528615-001
9-8
Interpreting Compilation Listings
BINSERV binds the appropriate object modules from FORTLIB (a library of object
modules supplied by HP) into the target file. It also binds in code and data blocks
located via the SEARCH directive.
Any unresolved references to procedures are represented in the program file in a
procedure identifier list. The operating system uses this list to resolve such references
the first time you execute the object program. These procedures include any Formatter,
I/O procedures, and Guardian procedures you specify in the program.
If you have not bound the procedures you call into a program file prior to execution,
and the operating system cannot find them in a run-time library, it displays the following
message at run time:
UNRESOLVED EXTERNAL
You can input the compiled object file to a later compilation or to an interactive Binder
session. You can bind other procedures with the target file to create an executable
program. Use the SEARCH directive to use the object file as input to a compilation.
For information about binding program units written in C, COBOL85, Pascal, and TAL
with FORTRAN program units, see Section 13, Mixed-Language Programming.
Interpreting Compilation Listings
The following is a guide to the interpretation of the various parts of the listing produced
by the FORTRAN compiler. The presence or absence of a given listing depends on the
listing options you specify. The compiler directives shown in Table 9-2 control listing
options (default values are underlined).
For additional information about the listing directives, see Section 10, Compiler
Directives.
Table 9-2. Compiler Listing Options (page 1 of 2)
Directive Action
ANSI NOANSI Ignore characters in columns 73 through 132.
CODE NOCODE List octal instruction code generated for each
program unit.
COLUMNS n Define the line length of each record in a source
file.
CROSSREF NOCROSSREF Generate cross-reference information for selected
identifier classes.
ERRORFILE file Write compilation error messages in file.
FMAP NOFMAP Include a file map in the listing.
ICODE NOICODE List symbolic instruction codes generated for each
program unit.
LINES number Write number lines to the listing file before skipping
page.