Gentoo Archives: gentoo-user

From: Luis Ortiz <wichos@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gcc slots
Date: Wed, 10 Jan 2007 02:06:09
Message-Id: 45A4454D.8090507@gmail.com
In Reply to: [gentoo-user] gcc slots by Mick
1 Mick wrote:
2 > Hi All,
3 >
4 > I just upgraded to gcc-4.1.1. gcc-config -l shows that gcc-3.4.5 is still
5 > there:
6 >
7 > # gcc-config -l
8 > [1] i686-pc-linux-gnu-3.4.5
9 > [2] i686-pc-linux-gnu-3.4.5-hardened
10 > [3] i686-pc-linux-gnu-3.4.5-hardenednopie
11 > [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp
12 > [5] i686-pc-linux-gnu-3.4.5-hardenednossp
13 > [6] i686-pc-linux-gnu-4.1.1 *
14 >
15 > When I try to remove gcc-3.4.5, it doesn't exist:
16 >
17 > # emerge -C -p -v gcc-3.4.5
18 >
19 >>>> These are the packages that would be unmerged:
20 >
21 > --- Couldn't find 'gcc-3.4.5' to unmerge.
22 >
23 >>>> No packages selected for removal by unmerge.
24 >
25 > If it doesn't exist, why is it listed? There's most likely a good explanation
26 > for this, but it's getting late and I must be too tired to understand it.
27 > Could you please care to explain?
28
29 As to why they weren't removed when you unmerged gcc-3.4.5, I've
30 no idea, but gcc-config -l will list whatever is in this directory:
31
32 /etc/env.d/gcc
33
34 Except the file 'config', which holds the default value.
35
36 Now, if you _really_ don't want to see them, remove them manually
37 _at your own risk_.
38
39 I doubt anything will break, but if I'm wrong someone will correct
40 me and you may get a better answer.
41
42 I hope I'm wrong :D
43
44 -Luis
45 --
46 gentoo-user@g.o mailing list