|
|
1.1 root 1: .TH F77 1 "13 May 1983"
2: .UC 4
3: .SH NAME
4: f77 \- Fortran 77 compiler
5: .SH SYNOPSIS
6: .B f77
7: [ option ] ... file ...
8: .SH DESCRIPTION
9: .I F77
10: is the UNIX Fortran 77 compiler.
11: It accepts several types of arguments:
12: .PP
13: Arguments whose names end with `.f' are taken to be
14: Fortran 77 source programs;
15: they are compiled, and
16: each object program is left on the file in the current directory
17: whose name is that of the source with `.o' substituted
18: for '.f'.
19: .PP
20: Arguments whose names end with `.c' or `.s' are taken to be C or assembly
21: source programs and are compiled or assembled, producing a `.o' file.
22: .PP
23: The following options have the same meaning as in
24: .IR cc (1).
25: See
26: .IR ld (1)
27: for load-time options.
28: .TP
29: .B \-c
30: Suppress loading and produce `.o' files for each source
31: file.
32: .TP
33: .B \-g
34: Have the compiler produce additional symbol table information for
35: .IR cdb (1).
36: Also pass the
37: .B \-lg
38: flag to
39: .IR ld (1).
40: .TP
41: .BR \-o " output"
42: Name the final output file
43: .I output
44: instead of `a.out'.
45: .TP
46: .B \-p
47: Prepare object files for profiling, see
48: .IR prof (1).
49: .TP
50: .BR \-w
51: Suppress all warning messages.
52: If the option is `\-w66', only Fortran 66 compatibility warnings are suppressed.
53: .TP
54: .B \-O
55: Invoke an
56: object-code optimizer.
57: .TP
58: .B \-S
59: Compile the named programs, and leave the
60: assembler-language output on corresponding files suffixed `.s'.
61: (No `.o' is created.).
62: .PP
63: The following options are peculiar to
64: .IR f77 .
65: .TP
66: .B \-i2
67: On machines which support short integers, make the default integer constants
68: and variables short.
69: .RB ( \-i4
70: is the standard value of this option). All logical quantities will be short.
71: .TP
72: .SM
73: .BR \-onetrip
74: Compile DO loops that are performed at least once if reached.
75: (Fortran 77 DO loops are not performed at all if the upper limit is smaller than the lower limit.)
76: .TP
77: .BR \-u
78: Make the default type of a variable `undefined' rather than using the default Fortran rules.
79: .TP
80: .BR \-v
81: Print the version number of the compiler, and the name of each pass as it
82: executes.
83: .TP
84: .BR \-C
85: Compile code to check that subscripts are within declared array bounds.
86: .TP
87: \fB\-N\fR[\fBqxscn\fR]\fInnn
88: Make static tables in the compiler bigger. The compiler will complain
89: if it overflows its tables and suggest you apply one or more of these
90: flags. These flags have the following meanings:
91: .RS
92: .TP
93: .B q
94: Maximum number of equivalenced variables. Default is 150.
95: .TP
96: .B x
97: Maximum number of external names (common block names, subroutine and
98: function names). Default is 200.
99: .TP
100: .B s
101: Maximum number of statement numbers. Default is 401.
102: .TP
103: .B c
104: Maximum depth of nesting for control statements (e.g. DO loops). Default is
105: 20.
106: .TP
107: .B n
108: Maximum number of identifiers. Default is 1009.
109: .RE
110: .TP
111: .BR \-U
112: Do not convert upper case letters to lower case. The default is to convert
113: Fortran programs to lower case except within character string constants.
114: .PP
115: Other arguments
116: are taken
117: to be either loader option arguments, or F77-compatible
118: object programs, typically produced by an earlier
119: run,
120: or perhaps libraries of F77-compatible routines.
121: These programs, together with the results of any
122: compilations specified, are loaded (in the order
123: given) to produce an executable program with name
124: `a.out'.
125: .SH FILES
126: .nf
127: .ta \w'/usr/lib/libF77_p.a 'u
128: file.[fFsc] input file
129: file.o object file
130: a.out loaded output
131: ./fort[pid].? temporary
132: /usr/lib/f77pass1 compiler
133: /usr/lib/f1 pass 2
134: /lib/c2 optional optimizer
135: /lib/cpp C preprocessor
136: /usr/lib/libF77.a intrinsic function library
137: /usr/lib/libI77.a Fortran I/O library
138: /lib/libc.a C library, see section 3
139: /usr/lib/libm.a C math library, see section 3
140: mon.out file produced for analysis by prof(1).
141: .fi
142: .SH "SEE ALSO"
143: S. I. Feldman,
144: P. J. Weinberger,
145: .I
146: A Portable Fortran 77 Compiler
147: .br
148: D. L. Wasley,
149: .I
150: Introduction to the f77 I/O Library
151: .br
152: prof(1), cc(1), ld(1)
153: .SH DIAGNOSTICS
154: The diagnostics produced by
155: .I f77
156: itself are intended to be
157: self-explanatory.
158: Occasional messages may be produced by the loader.
159: .SH BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.