Gentoo Archives: gentoo-user

From: fajfusio@××.pl
To: gentoo-user <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] emerge depclean gcc
Date: Fri, 22 Oct 2010 10:06:51
Message-Id: 4cc159bc341f93.84640578@wp.pl
In Reply to: Re: [gentoo-user] emerge depclean gcc by Paul Hartman
1 Thank you for help.
2 Everything went smoothly.
3
4 To be on a save side I would like to unemerge old version of gcc with
5 --depclean switch. How can I revert my previous --noreplace operation
6 cleanly
7 besides emerge --unemerge =gcc-4.3.4.
8
9
10 Dnia 21-10-2010 o godz. 16:17 Paul Hartman napisa³(a):
11 > 2010/10/21 <fajfusio@××.pl>:
12 > > Hi
13 > > I have upgraded my gentoo recently.
14 > > New version of gcc-4.4.3-r2 has been emerged.
15 > > Now I have 2 versions of gcc:
16 > > gcc-4.3.4
17 > > gcc-4.4.3-r2
18 > >
19 > > There are still many packages compiled with the old version of gcc and
20 > > now I don't want to rebuild them all with a new version.
21 > > emerge --depclean wants to unemerge my old version of gcc.
22 > >
23 > > May I just unmerge my old gcc ?
24 > > Is it save ?
25 >
26 > use gcc-config to select the new gcc as your default compiler
27 >
28 > env-update
29 >
30 > source /etc/profile
31 >
32 > fix_libtool_files.sh 4.3.4
33 >
34 > emerge --oneshot libtool
35 >
36 > then unmerge the old version of gcc
37 >
38 > revdep-rebuild just to be safe
39 >
40 > I think that should be all that's needed. I don't think there's any
41 > reason to recompile world or anything like this.