On Wed, 18 Jul 2007 19:49:00 +0200, Alex Schuster wrote:

> Another method, which I would use, would be to change your CFLAGS to
> what you would like for the new processor, but use mtune= instead of
> march=. This will also optimize for the cpu, but the code will run on
> any x86 CPU. emerge world --emptytree to re-compile everything, then
> switch your hardware. 

Recompiling everything is unnecessary, you only need to recompile those
packages that are necessary to get your system booting with the new
hardware. emerge -e system should do that, along with recompiling the
kernel. As long as you have a working toolchain, you can then recompile
anything important to you that fails to work on the new hardware before
resetting the CFLAGS and doing a background emerge -e world while getting
on with whatever you use the computer for.

Don't forget to set PORTAGE_NICENESS in make.conf before you emerge -e
world.


-- 
Neil Bothwick

Nymphomania-- an illness you hear about but never encounter.

Attachment: signature.asc
Description: PGP signature

Reply via email to