Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] coexisting GCC versions Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] coexisting GCC versions Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] coexisting GCC versions Roger Mason <rmason@×××.ca>
Re: [gentoo-user] coexisting GCC versions Roger Mason <rmason@×××.ca>