Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97 - gcc 3 -- install in tandem w/ gcc 2.x?
Summary: gcc 3 -- install in tandem w/ gcc 2.x?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Grant Goodyear (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 11:45 UTC by Grant Goodyear (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grant Goodyear (RETIRED) gentoo-dev 2002-01-09 11:45:08 UTC
It seems to me that we ought to be able to have both gcc 2.x and gcc3 installed,
since other distributions manage to do it (using kgcc for the 2.x gcc, or a
similar nomenclature).
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-03-15 10:53:49 UTC
Okay, I think the way to accomplish this feat is to echo Mandrake:

Change all gcc ebuilds to build as gcc-${PV} using --program-suffix=${PV}
(and installing into /usr/bin).  Then have /usr/bin/gcc, /usr/bin/g++, etc
be symbolic links to the preferred (meaning most recently installed)
binaries.  I'm pretty sure this should work, although I haven't had a chance
to test it yet.

As a complete non-sequitar, need to check that our gcc ebuilds use 
--with-system-zlib to take are of the recent security debacle.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-03-26 15:43:26 UTC
This turned out to be a real pain.  It's
going to be easier to patch current packages to
work w/ gcc3 instead.  Expect a gcc3.1-enabled 
version of Gentoo soon.