From: Steeve <steeve@eps.mcgill.ca>
Subject: Re: Installing ccc with gcc
Date: 1999/12/08 [thread overview]
Message-ID: <384EB1C0.9F0053C3@eps.mcgill.ca> (raw)
In-Reply-To: Pine.LNX.4.20.9912072142140.27087-100000@ironman.localdomain
Richard Griswold wrote:
>
> I upgraded egcs on my Alpha so I can compile the 2.2.13 kernel. From the
> information at http://egcs.cygnus.com/, it looks like gcc and egcs have
> merged. I ended up installing gcc 2.8.1 (the latest version I could find
> RPMs for) on my system. I had to remove egcs because of conflicts between
> the egcs and gcc RPMs. Now ccc won't work, because it needs egcs.
>
> How can I install both gcc and ccc?
I'm in the process of doing this on Redhat 6.0. I
downloaded the source gcc-2.95.2 from egcs (yeah, all the
different version numbers are incredibly confusing).
Anyway, I got the gcc-core, gcc-g++, gcc-g77 and gcc-objc
tarballs and extracted them all into a single dir. Then
created objdir and did the configure and compile using
the existing compiler (egcs-1.1.2-12). I believe that
during the compilation the compiler recomiles itslef in
Stage-2 (not sure but it looks like it.)
mkdir objdir
cd objdir
../gcc-2.95.2/configure --prefix=/usr
make bootstrap
Then I removed the rpm's for the existing egcs gcc,
egcs-g77-1.1.2-12
egcs-1.1.2-12
egcs-c++-1.1.2-12
egcs-objc-1.1.2-12
cpp-1.1.2-12
For whatever reason the c pre-processor is in a separate
rpm. Very bizare things happen if you don't remove this
package.
Then do,
make install
Just to be anal I did the whole thing over again using
the newly installed compiler,
mkdir test
cd test
../gcc-2.95-2/configure --prefix=/usr
make bootstrap
make install
All goes well. BTW, the default install prefix is
/usr/local which just don't seem right to me but I
suppose you *could* try to install it there and leave
the rpm's in place, but I'd bet that you'd run into
trouble in the long run. And you can always easily
reinstall the rpm's if you get into trouble.
--
:wq
next prev parent reply other threads:[~1999-12-08 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-08 5:00 Installing ccc with gcc Richard Griswold
1999-12-08 5:00 ` Steeve [this message]
1999-12-08 5:00 ` Eberhard Burr
1999-12-08 5:00 ` Steeve
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