public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to get rid of old gcc?
Date: Thu, 10 Jan 2013 12:06:47 -0600	[thread overview]
Message-ID: <CAEH5T2OnND+dC6OMYPV_2PoohU--S=WJmkMesF==i6aXwR=W_w@mail.gmail.com> (raw)
In-Reply-To: <50EEF377.5030705@gmail.com>

On Thu, Jan 10, 2013 at 10:59 AM, Jarry <mr.jarry@gmail.com> wrote:
> Hi Gentoo users,
>
> I just updated gcc from 4.5.4 to 4.6.3, switched compiler
> version, rebuilt libtool, but "emerge --depclean" still
> does not want to remove old gcc. "equery list gcc" shows
> both are still installed:
>
> [IP-] [  ] sys-devel/gcc-4.5.4:4.5
> [IP-] [  ] sys-devel/gcc-4.6.3:4.6
>
> So how can I now remove the old gcc?  I checked again
> "Gentoo GCC Upgrade Guide", but did not find a single
> word about it...

If they are in slots, the newer version won't necessarily obsolete the
older version.

You can use "emerge --depclean -p -v gcc:4.5" to view any remaining
dependencies on that slotted version.

You can use "emerge -C gcc:4.5" to remove only that slot's version of gcc.


  reply	other threads:[~2013-01-10 18:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 16:59 [gentoo-user] How to get rid of old gcc? Jarry
2013-01-10 18:06 ` Paul Hartman [this message]
2013-01-10 18:21   ` Florian Philipp
2013-01-10 18:39     ` Jarry
2013-01-10 18:54       ` Florian Philipp
2013-01-10 19:36         ` Jarry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEH5T2OnND+dC6OMYPV_2PoohU--S=WJmkMesF==i6aXwR=W_w@mail.gmail.com' \
    --to=paul.hartman+gentoo@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox