|
|
1.1 root 1: In an attempt to speed up the Fortran 77
2: compiler, we have provided a new interface between
3: the fortran compiler and the portable C compiler.
4: The intermediate file is binary, and the result is
5: to speed up the execution of Fortran considerably.
6: The changes necessary to make this work are as follows:
7:
8: *** The ONEPASS flag should be off for Fortran;
9: the simplest way of making this happen is to take
10: the line # define ONEPASS on macdefs, and put a
11: # ifndef FORT ... # endif around it.
12:
13: *** The function label from pass 1 must be put in
14: a file, fort.h. Also, a simple function, tlabel,
15: must be written to copy names and make labels.
16:
17: *** The function `where' must be defined, as well as the
18: function main (which was once on local2.c).
19: They can be defined on fort.h, or on local2.c
20: (surrounded by # ifnded ONEPASS and # endif)
21:
22: *** Other things from pass one may have crept into the pass 2
23: code: they must be also done, either on fort.h or
24: on local2.c surrounded by ifdefs.
25:
26: *** make fort then creates the fortran interface...
27:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.