Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Linux/AXP RedHat problems
@ 1996-10-31 12:35 Jason Duerstock
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Duerstock @ 1996-10-31 12:35 UTC (permalink / raw)


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. :)

Jason Duerstock

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Linux/AXP RedHat problems
@ 1996-10-31 16:47 Matthew Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Jacob @ 1996-10-31 16:47 UTC (permalink / raw)


>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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-10-31 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-31 12:35 Linux/AXP RedHat problems Jason Duerstock
  -- strict thread matches above, loose matches on Subject: below --
1996-10-31 16:47 Matthew Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox