Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] coexisting GCC versions
Date: Sat, 27 Jun 2009 23:14:32
Message-Id: 200906280114.25166.volkerarmin@googlemail.com
In Reply to: [gentoo-user] coexisting GCC versions by Roger Mason
1 On Sonntag 28 Juni 2009, Roger Mason wrote:
2 > Hello,
3 >
4 > I need gcc 4.3 to compile a specific application. I am hoping that I
5 > can install gcc 4.3 alongside 4.1.1 without suffering some awful
6 > catastrophe. This is the output of emerge on the machine in question:
7 >
8 > emerge -pv gcc
9 >
10 > These are the packages that would be merged, in order:
11 >
12 > Calculating dependencies... done!
13 > [ebuild U ] sys-devel/gcc-config-1.4.0-r4 [1.3.14] 0 kB [?=>0]
14 > [ebuild N ] app-arch/lzma-utils-4.32.7 USE="-nocxx" 469 kB [0]
15 > [ebuild U ] dev-libs/mpfr-2.4.1_p1 [2.2.0_p10] 883 kB [?=>0]
16 > [ebuild U ] sys-libs/glibc-2.8_p20080602-r1 [2.4-r4] USE="gd%*
17 > -debug% -glibc-omitfp (-hardened) (-multilib) -nls -profile (-selinux)
18 > -vanilla% (-build%) (-glibc-compat20%) (-nptl%*) (-nptlonly%*)" 16,415
19 > kB [?=>0]
20 > [ebuild NS ] sys-devel/gcc-4.3.2-r3 [4.1.1-r3] USE="doc fortran gcj
21 > gtk mudflap openmp (-altivec) -bootstrap -build (-fixed-point)
22 > (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64)
23 > -nls -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 58,990 kB [0]
24 >
25 > Can someone confirm that I'll be able to use gcc 4.3 for the specific
26 > application that needs it but then revert to 4.1.1 without having to
27 > re-compile all or most of my system?
28
29 yes