On Thu, Jan 10, 2013 at 10:59 AM, Jarry <mr.ja...@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 via email to