Richard Fish schrieb: > On 8/21/06, Stefan G. Weichinger <[EMAIL PROTECTED]> wrote: >> Richard Fish schrieb: >> > or "emerge -e world" to complete. I would be tempted to just change >> > the flags and hold off on recompiling everything until the next >> > version of gcc comes out. >> >> ( ... "next version" in terms of minor- or major-version?) > > Gcc version numbers are in the form of X.Y.Z, so at a change in X or > Y. The .Z changes should be just bug-fixes. The sad thing is that, > due to changes in the C++ library, it is commonly to recompile all C++ > applications when a new version of gcc comes out.
How do I know which they are? Certain USE-flags? > And even if it > isn't strictly /necessary/, an emerge -e world is considered the safe > way to handle a gcc upgrade. Ok. >> I see the point in this. (AFAIK there is no way to break up "emerge -e >> xy" into smaller pieces, something to do in several separated steps. > > Actually there is. You can find all packages not compiled with -Os > and rebuild them with something like: > > cd /var/db/pkg > for pkg in */* ; do > grep -v -- "-Os" $pkg/CFLAGS >/dev/null > test $? -eq 0 && emerge --oneshot =$pkg > done Threw me an error immediately with zsh, in bash it starts off fine ... thanks! This way I am able to run this step by step while I am working on other machines, satisfying my need for constant changes ;-) >> From your posting I conclude that it also won't do any harm to re-emerge >> selected parts with new CFLAGS?) > > Correct. Good to know. >> Apart from this I have enough computer-related experience to know that I >> simply should be happy with the >> luks-encrypted/cpufreq'ed/hibernating/etc. gentoo-system I now have at >> hand, instead of spending numerous hours to gain minimal speedups. > > Hrm, I also have the experience, but apparently not the good sense.... :-P I also don't have that all the time, not at all. At least I get better in preparing my steps with proper backups etc. so the loss of time and/or data is drastically reduced compared to earlier times. So in a way it gets even more interesting to try things. Thanks, Stefan. -- gentoo-user@gentoo.org mailing list