summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/f77/f77.1
blob: b4e4582182f24863f5b2ff12342a110907a6753b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.\"	$Id$
.\"
.Dd July 22, 1995
.Dt F77 1
.Os FreeBSD
.Sh NAME
.Nm f77
.Nd FORTRAN compiler driver
.Sh SYNOPSIS
.Nm f77
.Op options | files
.Sh DESCRIPTION
.Nm f77
is a simple driver for the FORTRAN compilation process under FreeBSD.
.Pp
.Nm f77
calls the FORTRAN to C translator 
.Nm f2c
to translate the FORTRAN source to C. Then it calls 
.Nm cc
to compile the resulting C code and 
.Nm as
to assemble it. After this stage it may call
.Nm ld
to link the resulting object files together with the
.Nm f2c
library
.Nm libf2c
, the 
.Nm math
library
.Nm libm
and other user specified libraries into an executable. Files ending in other
suffixes than .f (.o, .c, ...) are also accepted in the commandline and will
processed by the appropriate program.
.Pp
From the user side of view this FORTRAN to C translation is completely
transparent - 
.Nm f77
looks like a traditional FORTRAN compiler.
.Pp
Available options:
.Pp
The options that
.Nm f77
recognizes are a superset of the
.Nm f2c
and the
.Nm cc
options - please refer to their manpages for more details.
.Pp
.Sh FILES
file.f	FORTRAN source file
.Pp
file.o	object file
.Pp
a.out	link edited output
.Pp
/usr/lib/libf2c.a	f2c library (contains libF77 and libI77)
.Pp
/usr/lib/libf2c.so.x.y	shared f2c library
.Pp
.Sh SEE ALSO
.Xr as 1 ,
.Xr cc 1 ,
.Xr f2c 1 ,
.Xr ld 1
.Sh BUGS
The input file must end in .f - for instance .for will give problems.
OpenPOWER on IntegriCloud