From: Erik Evensen <erik@avalon.harvard.edu>
Subject: Re: g77 and error message on console
Date: Wed, 02 Apr 1997 06:03:03 +0500 [thread overview]
Message-ID: <34abcd5d4d46df62ea4f14b688e5bf23.axp-list@archive.invalid> (raw)
>>>>> "L" == Lee Burnside <tljlb@tomserver.phys.ttu.edu> writes:
L> On Tue, 1 Apr 1997 provost@iap.fr wrote:
>> 1) Is there g77 software for Alpha ? Because fort77 (which is
>> in the reality f2c) has very bad performance.
L> Unfortunately, no, not yet. Although the developers are
L> working on the port, there are many issues still unresolved.
L> Maybe in a few months.
g77 does in fact exist for Linux/Alpha, grab the latest versions
(g77-0.5.20 and gcc-2.7.2.2) from prep.ai.mit.edu and then
search the axp-list archive for a message from someone named sundiver;
actually, here's his message
Date: Thu, 13 Mar 1997 16:43:04 EST
To: axp-list@redhat.com
From: sundiver@hellfire.dusers.drexel.edu (J)
Subject: Re: gcc-2.7.2.2 / g77-0.5.20 on RH4.1
I have gotten gcc-2.7.2.2 / g77-0.5.20 to compile and work (so far) under
RH4.1. My system is RH4.1 installed from the RedHat PowerTools CD set
plus all the updates on ftp.redhat.com as of a few days ago.
I used gcc-2.7.2.2 with the patches from g77-0.5.20 applied. I had to go in
at tweek the configuration a bit though. It seems that while the patches with
g77 do add support for alpha-linux to gcc, it is support for an older,
non ELF, system.
The changes I made, as I remmeber them are:
Followed the install instructions that came with g77 up to the point
where there tell you to fun configure
Copied config/alpha/elf.h from the gcc SRPM from RH4.1 (after applying the
patches in the spec file).
Edited the configure script to use config/alpha/elf.h for tm_file with
the alpha-linux configuration.
Added "#define HAVE_STRERROR" to config/alpha/xm-linux.h
Changed the ifdef around "extern void *alloca ();" in
config/alpha/xm-alpha.h to "#ifndef alloca"
Run configure, using the parameters shown in the Rh4.1 gcc spec file.
make bootstrap
At this point the build proceeded normally. Gcc 2.7.2.2 was able to
compile itself.
I've tested it on a few small C and Fortran programs of my own, and on
xmcd. Everything seems to be working fine.
I tried to use it to compile octave. Octave compiled, but seg faults
on startup when you run it. This was the same behavior using gcc-2.7.2.1/f2c
though.
If anyone wants more details or a better explanation, let me know. Be
warned. This is the first time I've ever looked at the inards of gcc. I don't
really know what I'm doing. It does seem to work though. *shrug*
- J
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1997-04-02 1:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-04-02 1:03 Erik Evensen [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-04-02 15:36 g77 and error message on console Craig Burley
1997-04-01 20:25 Lee Burnside
1997-04-01 9:08 provost
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox