Gentoo Archives: gentoo-dev

From: Jon Portnoy <avenj@g.o>
To: Denis Shcherbakov <deniss@×××××××××.EDU>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] gcc 2.95 and gcc 3.2
Date: Thu, 27 Feb 2003 04:45:40
Message-Id: 20030227043410.GA14660@cerberus.oppresses.us
In Reply to: [gentoo-dev] gcc 2.95 and gcc 3.2 by Denis Shcherbakov
1 Make sure you have gcc-3.2.1-r6 or newer.
2
3 $ emerge /usr/portage/sys-devel/gcc/gcc-2.95.3-r8.ebuild
4
5 Use gcc-config to switch between them, e.g.:
6
7 $ gcc-config i686-pc-linux-gnu-2.95.3
8
9 and to switch back:
10
11 $ gcc-config i686-pc-linux-gnu-3.2.2
12
13 On Wed, Feb 26, 2003 at 11:29:45PM -0500, Denis Shcherbakov wrote:
14 >
15 > Folks,
16 >
17 > Is it possible to have both gcc 2.95 and gcc 3.2 co-existing on a Gentoo
18 > box? I am upgrading to 1.4 version of Gentoo, which is distributed with
19 > 3.2, but I have a commercial package that insists on 2.95... What is the
20 > procedure for keeping two versions of gcc on the system? How do I keep
21 > them discrete and choose whether to use one or the other?
22 >
23 > Appreciate any light on this matter.
24 >
25 > Denis
26 >
27 >
28 > --
29 > gentoo-dev@g.o mailing list
30
31 --
32 Jon Portnoy
33
34 --
35 gentoo-dev@g.o mailing list