diff options
-rw-r--r-- | gnu/usr.bin/cc/f77/Makefile | 3 | ||||
-rw-r--r-- | gnu/usr.bin/cc/f77/f77.1 | 67 |
2 files changed, 68 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/f77/Makefile b/gnu/usr.bin/cc/f77/Makefile index 4af4448..e7ed051 100644 --- a/gnu/usr.bin/cc/f77/Makefile +++ b/gnu/usr.bin/cc/f77/Makefile @@ -1,10 +1,9 @@ # -# $Id: Makefile,v 1.3 1994/09/18 22:35:43 wollman Exp $ +# $Id: Makefile,v 1.1 1994/10/25 14:36:49 ljo Exp $ # PROG = f77 SRCS = f77.c BINDIR= /usr/bin -NOMAN= 1 .include <bsd.prog.mk> diff --git a/gnu/usr.bin/cc/f77/f77.1 b/gnu/usr.bin/cc/f77/f77.1 new file mode 100644 index 0000000..cc501d7 --- /dev/null +++ b/gnu/usr.bin/cc/f77/f77.1 @@ -0,0 +1,67 @@ +.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 f2c 1 , +.Xr cc 1 , +.Xr as 1 , +.Xr ld 1 +.Sh BUGS +The input file must end in .f - for instance .for will give problems. |