|
|
1.1 root 1: .TH F77 1
2: .CT 1 prog_other
3: .SH NAME
4: f77 \(mi Fortran 77 compiler
5: .SH SYNOPSIS
6: .B f77
7: [
8: .I option ...
9: ]
10: .I file ...
11: .SH DESCRIPTION
12: .I F77
13: is a Fortran 77 compiler.
14: It accepts several types of arguments:
15: .PP
16: Arguments whose names end with
17: .L .f
18: are taken to be
19: Fortran 77 source programs;
20: they are compiled, and
21: each object program is left on the file in the current directory
22: whose name is that of the source with
23: .L .o
24: substituted
25: for
26: .LR .f .
27: .PP
28: Arguments whose names end with
29: .L .r
30: or
31: .L .e
32: are taken to be Ratfor or EFL
33: source programs, respectively; these are first transformed by the
34: appropriate preprocessor, then compiled by
35: .I f77.
36: .PP
37: In the same way,
38: arguments whose names end with
39: .L .c
40: or
41: .L .s
42: are taken to be C or assembly source programs
43: and are compiled or assembled, producing a
44: .L .o
45: file.
46: .PP
47: The following options have the same meaning as in
48: .IR cc (1).
49: See
50: .IR ld (1)
51: for load-time options.
52: .TP
53: .B -c
54: Suppress loading and produce
55: .L .o
56: files for each source
57: file.
58: .TP
59: .B -g
60: Have the compiler produce additional symbol table information for
61: .IR sdb (A)
62: or
63: .IR pi (9.1).
64: .TP
65: .BR -w
66: Suppress all warning messages.
67: If the option is
68: .LR -w66 ,
69: only Fortran 66 compatibility warnings are suppressed.
70: .TP
71: .B -p
72: Prepare object files for profiling, see
73: .IR prof (1).
74: .TP
75: .B -O
76: Invoke an
77: object-code optimizer.
78: .TP
79: .B -S
80: Compile the named programs, and leave the
81: assembler-language output on corresponding files suffixed
82: .LR .s .
83: (No
84: .L .o
85: is created.).
86: .TP
87: .BI -o " output"
88: Name the final output file
89: .I output
90: instead of
91: .LR a.out .
92: .PP
93: The following options are peculiar to
94: .IR f77 .
95: .TP
96: .BR -onetrip
97: Compile DO loops that are performed at least once if reached.
98: (Fortran 77 DO loops are not performed at all if the upper limit is smaller than the lower limit.)
99: .TP
100: .BR -u
101: Make the default type of a variable `undefined' rather than using the default Fortran rules.
102: .TP
103: .BR -C
104: Compile code to check that subscripts are within declared array bounds.
105: .TP
106: .B -I2
107: Render
108: .SM INTEGER
109: and
110: .SM LOGICAL
111: as short,
112: .SM INTEGER\*S\(**4
113: as long.
114: Allow only
115: .SM INTEGER\*S\(**4
116: (and no
117: .SM LOGICAL\*S)
118: variables in
119: .SM INQUIRE\*Ss.
120: .TP
121: .B -U
122: Honor the case of variable and external names.
123: Fortran keywords must be in lower case.
124: .TP
125: .BR -F
126: Apply EFL and Ratfor preprocessors to relevant files,
127: put the results in the files
128: with the suffix changed to
129: .LR .f ,
130: but do not compile.
131: .TP
132: .BR -m
133: Apply the M4 preprocessor to each
134: .L .r
135: or
136: .L .e
137: file before transforming
138: it with the Ratfor or EFL preprocessor.
139: .TP
140: .BI -E x
141: Use the string
142: .I x
143: as an EFL option in processing
144: .L .e
145: files.
146: .TP
147: .BI -R x
148: Use the string
149: .I x
150: as a Ratfor option in processing
151: .L .r
152: files.
153: .PP
154: Other arguments
155: are taken
156: to be either loader option arguments, or F77-compatible
157: object programs, typically produced by an earlier
158: run,
159: or perhaps libraries of F77-compatible routines.
160: These programs, together with the results of any
161: compilations specified, are loaded (in the order
162: given) to produce an executable program with name
163: .LR a.out .
164: .SH FILES
165: .TF /usr/lib/libF77.a
166: .TP
167: .IB file .[fresc]
168: input file
169: .TP
170: .B *.o
171: object file
172: .TP
173: .F a.out
174: loaded output
175: .TP
176: .F ./fort*
177: temporary
178: .TP
179: .F /usr/lib/f77pass1
180: compiler
181: .TP
182: .F /lib/f1
183: pass 2
184: .TP
185: .F /lib/c2
186: optional optimizer
187: .TP
188: .F /usr/lib/libF77.a
189: intrinsic function library
190: .TP
191: .F /usr/lib/libI77.a
192: Fortran I/O library
193: .TP
194: .F /lib/libc.a
195: C library, see section 3
196: .SH "SEE ALSO"
197: .IR prof (1),
198: .IR cc (1),
199: .IR ld (1),
200: .IR efl (A),
201: .IR ratfor (A)
202: .br
203: S. I. Feldman and
204: P. J. Weinberger,
205: `A Portable Fortran 77 Compiler',
206: this manual, Volume 2
207: .SH DIAGNOSTICS
208: The diagnostics produced by
209: .I f77
210: itself are intended to be
211: self-explanatory.
212: Occasional messages may be produced by the loader.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.