Technical data

1
Chapter 1
1. Compiling, Linking, and Running Programs
This chapter contains the following major sections:
•“Compiling and Linking describes the compilation environment and
how to compile and link Fortran programs. This section also contains
examples that show how to create separate linkable objects written in
Fortran, C, Pascal, or other languages supported by the compiler
system and how to link them into an executable object program.
•“Driver Options gives an overview of debugging, proling,
optimizing, and other options provided with the Fortran f77 driver.
•“Object File Tools briey summarizes the capabilities of the odump,
stdump, nm, file, and size programs that provide listing and other
information on object les.
•“Archiver summarizes the functions of the ar program that maintains
archive libraries.
•“Run-Time Considerations describes how to invoke a Fortran
program, how the operating system treats les, and how to handle
run-time errors.
Also refer to the Fortran Release Notes for a list of compiler enhancements,
possible compiler errors, and instructions on how to circumvent them.