[4533] in RedHat Linux List
[Q]: opinions g77 vs f2c
daemon@ATHENA.MIT.EDU (Frederik Lindberg)
Fri Nov 15 11:06:48 1996
From: "Frederik Lindberg" <lindberg@id.wustl.edu>
To: "redhat-list@redhat.com" <redhat-list@redhat.com>
Date: Fri, 15 Nov 96 09:58:48 -0600
Reply-To: "Frederik Lindberg" <lindberg@id.wustl.edu>
Resent-From: redhat-list@redhat.com
I have heard that g77 produces buggy code, but have not had any trouble with
it. With the need to port old FORTRAN 77 code to Linux, I would be very
interested in your experience with g77.
I'm running both (from .rpm) on Redhat-4.0 with the latest lib[FI]77 (these
have fseek_, which the ones packaged with g77/f2c lack) from the Bell site.
f2c seems like a good tool to move to C. It's strong type checking is great if
you want to find hard-to-trace bugs in the FORTRAN code. However, the handling
of CHAR makes it inefficient in many old programs that use CHAR=BYTE to speed
up calculations with large arrays of small integers.
g77 seems very pain-free and seems to require only minor modification of the
original code.
I'd much appreciate any input.
-
Sincerely, Fred
Frederik Lindberg
Infectious Diseases, 8051, Washington University School of Med
660 S Euclid Ave, ST. LOUIS, MO 63110
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null