Odi's astoundingly incomplete notes
New entries | CodeGentoo updating gcc, mpfr, mpc
When Gentoo updates gcc together with mpfr and mpc the normal emerge procedure will cause building of gcc twice. Because mpfr and mpc cause automatic rebuild of the (existing) gcc. But if you are going to update gcc anyway then this is utterly pointless waste of energy.
Instead you can
After gcc update don't forget to switch to the new compiler with
Instead you can
emerge --ignore-built-slot-operator-deps=y -1uav mpfr mpc
first without doing the rebuild. This leaves you with a broken gcc maybe (but actually probably not because portage preserves the old library versions), but next you simply emerge -1uav gcc
anyway.After gcc update don't forget to switch to the new compiler with
gcc-config
and rebuild libtool
.Add comment