Technical data

Compiling and Linking
3
Figure 1-1 Compilation Process
Note the following:
The source le ends with the required sufxes .f or .F.
The source le is passed through the C preprocessor, cpp, by default. cpp
does not accept C-style comments in Hollerith strings. The nocpp
option skips the pass through cpp and therefore, allows C-style
comments in Hollerith strings. (See the nocpp option in Driver
Options on page 8 for details.) In the example
% f77 myprog.f nocpp
the le myprog.f will not be preprocessed by cpp.
The driver produces a linkable object le when you specify the c
driver option. This le has the same name as the source le, except with
the sufx .o. For example, the command line
% f77 more.f -c
produces the more.o le in the above example.
Fortran Front End
Optimizer
Code Generator
Assembler
Link Editor
(optional)
more.f
more.o
a.out