Home > Archive > Fortran > June 2007 > moving from g77 to a more modern compiler.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
moving from g77 to a more modern compiler.
|
|
| Thierry B. 2007-06-15, 10:08 pm |
| Hello.
I'm playing with g77 for a (very) long time, but from some rumours,
it's an obsolete compiler. I'm on Linux and OpenBSD platforms, and
s ing for a more modern and "libre" alternative for g77, with
an option who warn me when I do "no ethic 77 programming".
No troll, please, because I said "playing" :)
tTh.
--
A horse will do most of its maintenance itself, but it needs fuel even if
you're not using it.
| |
| Dave Seaman 2007-06-15, 10:08 pm |
| On Fri, 15 Jun 2007 12:23:40 +0200, Thierry B. wrote:
> I'm playing with g77 for a (very) long time, but from some rumours,
> it's an obsolete compiler. I'm on Linux and OpenBSD platforms, and
> s ing for a more modern and "libre" alternative for g77, with
> an option who warn me when I do "no ethic 77 programming".
Look for gfortran or g95. The former is part of gcc 4.x.
--
Dave Seaman
Oral Arguments in Mumia Abu-Jamal Case heard May 17
U.S. Court of Appeals, Third Circuit
<http://www.abu-jamal-news.com/>
| |
| Tim Prince 2007-06-15, 10:08 pm |
| Dave Seaman wrote:
> On Fri, 15 Jun 2007 12:23:40 +0200, Thierry B. wrote:
>
>
> Look for gfortran or g95. The former is part of gcc 4.x.
>
>
Some widely distributed versions of both are already obsolete. Avoid gcc
4.0, in particular.
| |
| Kamaraju S Kusumanchi 2007-06-15, 10:08 pm |
| Thierry B. wrote:
> Hello.
>
> I'm playing with g77 for a (very) long time, but from some rumours,
> it's an obsolete compiler. I'm on Linux and OpenBSD platforms, and
> s ing for a more modern and "libre" alternative for g77, with
> an option who warn me when I do "no ethic 77 programming".
>
> No troll, please, because I said "playing" :)
>
> tTh.
>
I have had good results with gfortran 4.2. It can pretty much compile all
your fortran 77 code. gfortran also works with Fortran 90/95. AFAIK g77 is
no longer supported. So, IMHO, you should shift to a latest compiler.
hth
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
| |
| highegg 2007-06-15, 10:08 pm |
| On Jun 15, 12:23 pm, "Thierry B." <t...@prout.stex> wrote:
> Hello.
>
> I'm playing with g77 for a (very) long time, but from some rumours,
> it's an obsolete compiler. I'm on Linux and OpenBSD platforms, and
> s ing for a more modern and "libre" alternative for g77, with
> an option who warn me when I do "no ethic 77 programming".
>
> No troll, please, because I said "playing" :)
>
> tTh.
>
> --
> A horse will do most of its maintenance itself, but it needs fuel even if
> you're not using it.
If you intend to stick with Fortran 77, you can also use OpenWatcom. I
think that one is still supported.
| |
| Brooks Moses 2007-06-15, 10:08 pm |
| highegg wrote:
> On Jun 15, 12:23 pm, "Thierry B." <t...@prout.stex> wrote:
>
> If you intend to stick with Fortran 77, you can also use OpenWatcom. I
> think that one is still supported.
Since Fortran 77 is a subset of Fortran 95 (except for some minor
exceptions which nearly all compilers implement as extensions), just
about any modern supported Fortran compiler will compile Fortran 77 code.
What they won't do is warn when you use something that's in Fortran 95
but not in Fortran 77, in many cases.
- Brooks
--
The "bmoses-nospam" address is valid; no unmunging needed.
| |
| Thierry B. 2007-06-17, 10:06 pm |
| --{ Kamaraju S Kusumanchi a plopé ceci: }--
>
> I have had good results with gfortran 4.2. It can pretty much compile all
> your fortran 77 code. gfortran also works with Fortran 90/95. AFAIK g77 is
> no longer supported. So, IMHO, you should shift to a latest compiler.
>
Ok, thanks to all. I'm going on the way to gfortran.
Have a good night/day.
|
|
|
|
|