For Programmers: Free Programming Magazines  


Home > Archive > Fortran > May 2004 > g77 binaries for linux on x86 systems









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 g77 binaries for linux on x86 systems
jbs@watson.ibm.com

2004-05-04, 3:05 pm

A few days ago instructions were given in this group for
obtaining binaries for the new g95 compiler for linux on x86 systems.
I followed these and was able to compile and run my program. The
answers are correct but it appears g95 is currently doing very little
optimization, the -O flag appears to have little effect and the
execution time is much slower than when compiled with the g77 compiler
under windows. So I need to obtain linux binaries for the g77 compiler
(and all prerequisites such as gcc). Can someone provide simple
instructions for doing this? Thanks.
James B. Shearer
Dr Chaos

2004-05-04, 3:05 pm

On Thu, 29 Apr 2004 17:13:26 GMT, jbs@watson.ibm.com <jbs@watson.ibm.com> wrote:
> As far as I can tell my linux system (which I did not build)
> came with no compilers at all. It is a dual boot system with windows
> XP and linux appears to be a throwin with little support. Nevertheless
> following the directions in this newsgroup I was easily able to get g95
> working. I am asking if there is a simple way to get g77 working.


what distribution of linux?

I run fedora core 1, and the packages that you need are
called "gcc" and "gcc-g77", both of which must be installed.
That will be the case for any Redhat-like distribution.

Talking to the primary author, I learned g95 does NOT have
optimization enabled, and will not for at least a few months. Work
will start when the gcc crew finishes standardizing on a new internal
representation.

G95's current performance is not anywhere near competitive with
commercial F95 compilers, as a result. It is unclear what its future
performance will be once optimization works, but I would guess it
to equal or slightly better NAG's and trail Intel's.


> James B. Shearer

jbs@watson.ibm.com

2004-05-04, 3:05 pm

In article <slrnc9899l.rim.mbkennelSPAMBEGONE@lyapunov.ucsd.edu>,
on Sat, 1 May 2004 22:31:17 +0000 (UTC),
Dr Chaos <mbkennelSPAMBEGONE@NOSPAMyahoo.com> writes:
>On Thu, 29 Apr 2004 17:13:26 GMT, jbs@watson.ibm.com <jbs@watson.ibm.com> wrote:
>
>what distribution of linux?


Something based on Redhat 9.
I have found the executables generated by the windows version
of g77 will sort of run on my linux system under Wine so that is what I
am going to use. Thanks to everyone who tried to help.
James B. Shearer
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com