On Mon, 19 Nov 2007 01:19:06 +0200, ~/Timur Aydin wrote: > How would I go about rebuilding all installed packages, except gcc? I > suppose I could do "emerge --emptytree world", but that would also merge > gcc, which I don't want, because I want to be sure that the whole system > is rebuilt with the same compiler.
I don't see why this is an issue in the first place. Assuming you have just rebuilt gcc, to make sure it is as up to date as possible, emerge -e world will only rebuild an identical copy. Even when you have done this, you would have to repeat the process for every minor gcc revision bump. But if you want to do it, and build the packages in the correct order, the best option is to simply remove gcc from the list that emerge -e world produces, like this emerge -oneshot $(emerge -pe world | grep -v 'sys-devel/gcc-[34]' | awk '/^\[ebuild/ {print $4}' | sed 's/^/=/') -- Neil Bothwick Anything worth fighting for is worth fighting dirty for.
signature.asc
Description: PGP signature