From: "Richard L Jackson Jr" <rjackson () osf1 ! gmu ! edu>
To: tru64-unix-managers
Subject: SUM: FORTRAN to C conversion?
Date: Tue, 17 Dec 1996 15:58:01 +0000 [thread overview]
Message-ID: <96076343421728.tru64-unix-managers.marc@archive.invalid> (raw)
Hello,
QUESTION:
One of our users has a need for a FORTRAN to C conversion utility. Does
one exist for Digital UNIX?
SUMMARY:
The overwhelming recommendation is a free kit called f2c developed by AT&T.
GNU has a pointer to it at ftp://ftp.uu.net:/systems/gnu/f2c.README but the
kit is actually available at ftp://netlib.att.com:/netlib/f2c.
RESPONDERS:
Burch Seymour RTPS <bseymour@encore.com>
Sigismondo Boschi <net1701@iperbole.bologna.it>
Pat Villani <patv@unx.dec.com>
Sid Fagan - Sublimation MAN (NID) <fagan@large.fnal.gov>
bernards@ecn.nl
Rich Kulawiec <rsk@itw.com>
Laurent de Munico <laurent@poly.polytechnique.fr>
Brian Sheehan <sheehan@scripps.edu>
Phil Farrell <farrell@pangea.Stanford.EDU>
Pedro JosM-i Lobo Perea <pjlobo@euitt.upm.es>
Tom Webster <webster@europa.mdc.com>
Kurt Knochner <Kurt.Knochner@Physik.TU-Muenchen.DE>
Bill Bathurst <bathurst@blegga.freerange.com>
Harald Lundberg <hl@tekla.fi>
"Robert L. McMillin" <rlm@syseca-us.com>
Jean Schuller <schuller@crnal4.in2p3.fr>
Winfried Huber <win@tukan.ffb.eunet.de>
MY INSTALL NOTES:
- mason: install f2c 19961209
Important documents; readme, src/README, libF77/README, libI77/README.
. cd /usr/local/src/f2c
. ftp ftp.uu.net:/systems/gnu/f2c.README
. ftp netlib.att.com:/netlib/f2c/[src/*, libf77.Z,libi77.Z,f2c.ps.Z]
. uncompress *.Z src/*.Z
. sh libf77
. sh libi77
. cd src
. mv f2c.h f2c.h.orig (per main readme for Alpha systems)
. sed 's/long //' f2c.h.orig > f2c.h
. mv .depend .depend.orig
. modify makefile (optimize)
. make f2c >& make.log&
. mkdir /usr/local/f2c
. cp -p f2c.h /usr/local/f2c
. cd ../libI77
. modify makefile (add -DAllow_TYQUAD, per main readme for Alpha)
add -I/usr/include/f2c)
. make >& make.log&
. cd ../libF77
. modify makefile (add -I/usr/include/f2c)
. make >& make.log&
. cd ..
. cp -p libF77/libF77.a libf2c.a
. ar ruv libf2c.a libI77/*.o
. ranlib libf2c.a
. cp -p libf2c.a /usr/local/f2c
. cp -p src/f2c /usr/local/bin
. cp -p src/f2c.1t /usr/local/man/man1/f2c.1
. catman -w
. (cd src;make clean)
. (cd libF77;make clean)
. (cd libI77;make clean)
TEST:
. create test.f
. src/f2c < test.f > test.c
. cc -o test test.c -L/usr/local/f2c -I/usr/local/f2c -lf2c
--
Regards,
Richard Jackson George Mason University
Computer Systems Senior Engineer UCIS / ISO
Computer Systems Engineering
reply other threads:[~1996-12-17 15:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox