1 .Id $Id: fort77.1,v 1.1 1994/11/01 16:53:38 ig25 Exp ig25 $
2 .TH FORT77 1 "Nov 1996" Linux "Linux Programmer's Manual"
4 fort77 \- invoke f2c Fortran translator transparently, like a compiler
13 .RB [ "f2c option ..." ]
16 .RI [ "gcc-option ..." ]
17 .RI [ "link option ..." ]
24 .RB [ -Wx,arg1 [ ,arg2 ]...]
31 command transparently, so it can be used like a real Fortran compiler.
32 It can be used to compile Fortran, C and assembler code, and to link
33 it with the f2c libraries.
35 File arguments ending with
37 are compiled as Fortran source files.
40 are passed through to f2c, and files ending with
42 are passed to the C preprocessor (invoked as
43 .RB """" "/lib/cpp -traditional" """")
44 first. Any switches passed via
46 will be passed to the preprocessor.
47 If the translation is successful, the resulting C files will be passed to
49 for translation into an object file.
61 are passed to the GNU C compiler directly; see
63 All other files are passed to the linker.
67 Supress linking and produce an object (
69 ) file from each source file.
72 Include debugging information.
74 Be verbose; supplying this twice will also tell the C compilers
78 Keep the C files generated by f2c around.
81 Pass Fortran code through the C preprocessor, as if filenames
93 in the search for libraries in the final linking stage.
99 .BR -Wx,arg1 [, arg2 ...]
102 through to the subprocess
106 can assume one of the following values:
110 for the preprocessing step,
114 for the assembler (this is actually passed to the C compiler, too), and
117 As an example, defining a preprocessor constant for the C compilation
118 step would be done with
122 option to f2c would be done via
127 passes through almost all
156 The following options are passed through to gcc:
175 The options passed to the linking stage are
183 To make debugging work, you need to set a breakpoint at
188 This script automatically supplies the
194 may not support this.
196 This script is for the interaction of gcc and f2c; using it with
197 another compiler will probably require modification.
201 option is implied in -O, unlike gcc.
202 If this causes problems, it can be overridden with
207 script does not strictly conform to Posix.2, because it acceppts
208 long options with one leading slash. This is done for gcc
211 Thomas Koenig, ig25@rz.uni-karlsruhe.de