This is the mail archive of the
mailing list for the GCC project.
Re: install gcc 3.0.4 & 2.95.3 parallel
On Fri, May 10, 2002 at 11:34:58AM -0700, mike stump wrote:
> > From: Christian Bayer <firstname.lastname@example.org>
> > To: email@example.com
> > Date: Sat, 11 May 2002 08:17:03 +0200
> > i have got a problem on building a running system with 2 seperate gcc
> > compilers. i want to use both gcc 2.95.3 and gcc 3.0.4, so i read the manuals
> > and tried to compile both. first gcc 2.95.3, then gcc 3.0.4.
> > the compiling of both worked, and after installing gcc 2.95.3 i could compile
> > a small c-prog. but after installing gcc 2.95.3 and invoking the old compiler
> > with "gcc -V 2.95.3"
> -V doesn't work, don't attempt to ever use it.
> > 1) ../gcc-3.0.4/configure --prefix=/usr --enable-shared --enable-threads=posix
> > make bootstrap
> Use a unique non-existent --prefix.
> --prefix=/usr is just asking for trouble beyond your wildest
I've often seen this used in build status report messages and always
thought it looked like a bad idea since it will wipe out the original
system compiler. Shouldn't we warn against this in the configuration
part of the installation instructions?