Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 1935

Summary: GCC 3 Cannot coexist with 2.95 and solution
Product: Gentoo Linux Reporter: Darrell Wright <dwright>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Darrell Wright 2002-04-19 08:53:19 UTC
the gcc 3 ebuild will not coexist with gcc 2.95 it seems.   
The fix is easy and will allow both compilers to exist on the  
system and allow 2.95 to be the default or visa-versa.  A 
system like kde 2/3 can be used where both are prefixed with 
/usr/gcc/$(VERSION) and adding the default to the PATH.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-21 12:51:51 UTC
It is not so easy, as the ./configure script that ships with gcc-3.0.x
is broken, and do not generate the binaries correctly.  Anyhow, the
latest gcc-3.0.4-r3 will install parallel with gcc-2.95.3 if not during
bootstrap. and works with most things if you:

# export CC=gcc-3.0
# export CXx=g++-3.0