FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 10-22-2010, 09:30 AM
Default emerge depclean gcc

Thank you for help.
Everything went smoothly.

To be on a save side I would like to unemerge old version of gcc with
--depclean switch. How can I revert my previous --noreplace operation
besides emerge --unemerge =gcc-4.3.4.

Dnia 21-10-2010 o godz. 16:17 Paul Hartman napisaƂ(a):
> 2010/10/21 <fajfusio@wp.pl>:
> > Hi
> > I have upgraded my gentoo recently.
> > New version of gcc-4.4.3-r2 has been emerged.
> > Now I have 2 versions of gcc:
> > gcc-4.3.4
> > gcc-4.4.3-r2
> >
> > There are still many packages compiled with the old version of gcc and
> > now I don't want to rebuild them all with a new version.
> > emerge --depclean wants to unemerge my old version of gcc.
> >
> > May I just unmerge my old gcc ?
> > Is it save ?
> use gcc-config to select the new gcc as your default compiler
> env-update
> source /etc/profile
> fix_libtool_files.sh 4.3.4
> emerge --oneshot libtool
> then unmerge the old version of gcc
> revdep-rebuild just to be safe
> I think that should be all that's needed. I don't think there's any
> reason to recompile world or anything like this.
Old 10-23-2010, 11:59 AM
daid kahl
Default emerge depclean gcc

2010/10/21 Michael Hampicke <gentoo-user@hadt.biz>:
>> May I just unmerge my old gcc ?
>> Is it save ?
> Yes it's save to unmerge your old gcc.
> You could also - using quickpkg - create a binary package of your old
> gcc before unmerging (for backup puropses).

From the strictly Gentoo side of things, it's safe (following
instructions already posted).

However, for myself, I use tons of third party physics software, among
other things. A lot of it is not very recent, and sometimes they are
picky about which gcc compiles is (and sometimes I need a shell script
to switch the gcc for execution of those programs and switch back

So if you do a lot of compiling of external programs that are not as
well maintained and updated, there's not a lot of reason to *unmerge*
an old gcc. There are two reasons to actually remove gcc's in my
opinion: revdep-rebuild wants to reinstall all of them, you need the
disk space.

I have 10 options under gcc-config. I'm not at all recommending this
to everyone, but just making the point that, depending on what other
things you have going on, it's a good idea to check any third party
stuff, at the very least, before just removing it, since there's not
much harm in keeping a few extra gccs around for rainy days.


Thread Tools

All times are GMT. The time now is 12:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org