FC(1) | General Commands Manual | FC(1) |
fc - frontend script to the f2c fortran compiler
/usr/bin/fc [-o objfile] [-c] [-S] [-C] [-u] [-w] [-w66] [-D switch] [-I includepath] [-Ntnnn] [-P] files [-l library]
fc is a script intended to be used as a front end to the f2c FORTRAN-to-C translator. It is supposed to make the whole f2c and C compiler setup look like a real Fortran compiler.
File arguments with a .f suffix are compiled as Fortran source. Files with a .F suffix are passed through the C preprocessor cpp(1) first. Files with .c (C source) or .s (assembly source) suffixes are passed to the C compiler directly. Files with a .e suffix are treated as efl source files, and files with a .r suffix are treated as RATFOR source files.
fc isn't really very good -- try fort77 (1), which does a
better job.
This manual page isn't really very good either...
S. Feldman, D. Gay, M. Maimone, N, Schryer are all mentioned in
the paper on the conversion of Fortran to C.
Peter Maydell (pmaydell@chiark.greenend.org.uk) wrote this manual page, and
Alan Bain (alanb@chiark.greenend.org.uk) made some minor modifications.
f2c(1), fort77(1), cc(1), cpp(1), ratfor(1)
May 1999 |