This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <christian_bay@gmx.de>
> > To: gcc@gnu.org
> > 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
> imagination.

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?

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]