Re: Linux/AXP RedHat problems

Matthew Jacob (mjacob@feral.com)
Thu, 31 Oct 96 08:47:19 PST

>From: Jason Duerstock <jason@ntalr.aatech.com>
>...
>I was going to recompile gcc 2.7.2 or gcc 2.7.2.1 to do some learning
>about how it works but after running configure, and typing 'make
>LANGUAGES=c', it came up saying it was missing (I believe)
>'alpha/xm-linux.h'. This file doesn't appear anywhere in the gcc
>sources from ftp.gnu.ai.mit.edu (both 2.7.2 and 2.7.2.1) nor does it
>show up in any of the patches in the gcc-2.7.2-9.src.rpm. In addition,
>when I try to use rpm to rebuild the gcc-2.7.2-9.src.rpm package (or any
>other src package) with the -b option, I get an error about an invalid
>field (I'm pulling this stuff off the top of my head so it may be a bit
>inaccurate).
>
>Any help would be greatly appreciated. :)
>

I dunno about the RPM file, but you need patches to either 2.7.2 or 2.7.2.1
in order to rebuild gcc. Get

ftp://atheis.tamu.edu/pub/ricahrd/linux/rth-gcc-2.7.2-960814.diff.gz

This gets you to the point where alpha-*-linux or alpha-*-linuxecoff
is a recognized target (which is probably why you had a problem after
running configure). Then you get into the whole fan dance of ELF or
not-ELF- it will depend upon what version of RedHAT you have installed
as to what to try and go with and how much pain you go through.

I myself worked from (originally) a BLADE_0.3 distribution, and got
nowhere. I eventually ponied up the bucks for the 3.0.3 RedHAT and
after an unbelievable amount of running around and pestering some
of the usual suspects managed to get cut over to ELF64 (new glibc,
really need binutils 2.7 or better, etc., ran into bugs in the
glibc that caused cc1 to core dump, etc....) so that now, about two
months after starting, I can recompile gcc (which, in some sense,
is a platform sanity check).

Other people claim to have had a much easier time (including those
who are producing the the RPM packages), but I cannot vouch for their
verity nor can I personally attest to the repeatability of their
experience.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices