SCIENTIFIC-LINUX-USERS Archives

June 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Klaus Wacker <[log in to unmask]>
Reply To:
Klaus Wacker <[log in to unmask]>
Date:
Wed, 4 Jun 2008 11:45:50 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On Wed, Jun 04, 2008 at 09:39:14AM +0200, Matthias Schroeder wrote:
> Konstantin Olchanski wrote:
> >On Mon, Jun 02, 2008 at 08:22:24PM +0100, Jon Peatfield wrote:
> >>>I installed SL5.1 and seems g77 isn't installed.
> >
> >
> >Yes, in recent GCCs, the very nice g77 compiler was replaced by something
> >called gfortran. If I remember right, the main reason was the retirement
> >of the g77 main author and maintainer.
> >
> >The new compiler is written by some new people and it strives to implement
> >the recent Fortran standards (F-95, etc).
> >
> >Last time I looked a few years ago, compatibility with Fortran-II,
> >Fortran-4, DEC Fortran, Fortran-77 and need to compile antique (but still
> >quite usable) programs was not high in the priority list for gfortran
> >developers.
> 
> Proper Fortran-77 is no problem any more with gfortran, but with vendor 
> specific, non-standard extensions you will have no luck.
> 

"No luck" is too strong a statement. Especially if the non-standard
extension was supported by g77, you have a good chance that it will work
with gfortran. It is a design goal of the gfortran developpers to
provide backwards compatibility with g77. As far as I know, they have
achieved that to a large extent.


-- 
Klaus Wacker              [log in to unmask]
Experimentelle Physik V   http://www.physik.uni-dortmund.de/~wacker
Universitaet Dortmund     Tel.: +49 231 755 3587
D-44221 Dortmund          Fax:  +49 231 755 4547

ATOM RSS1 RSS2