From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076343421728.tru64-unix-managers.marc@archive.invalid> From: "Richard L Jackson Jr" Date: Tue, 17 Dec 1996 15:58:01 +0000 To: tru64-unix-managers Subject: SUM: FORTRAN to C conversion? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076343421728 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 Sigismondo Boschi Pat Villani Sid Fagan - Sublimation MAN (NID) bernards@ecn.nl Rich Kulawiec Laurent de Munico Brian Sheehan Phil Farrell Pedro JosM-i Lobo Perea Tom Webster Kurt Knochner Bill Bathurst Harald Lundberg "Robert L. McMillin" Jean Schuller Winfried Huber 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