daniel wrote:
On Wed, 2003-08-20 at 08:56, stephen wrote:

I'm replacing my P3 850/Asus CUV4X with an Athlon 2700+/Asus A7N8X-X, but would like to keep my gentoo intact as much as I can.

Currently I use CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
and have things like mmx and sse in my USE flags (should I take those
out and use 3dnow instead?). I also use LVM with vgroups for usr,
usr/local, var and tmp.

I wonder if this will even boot now. Can anyone give me some hints about the best way to make the transition? Any help appreciated.



as i understand it, pretty much all of your binaries shouldn't work on your new machine since you chose to use -march=pentium3. my best suggestion would be to do the following (yes, it will take a very long time):

  1. edit make.conf to have the following:
       CFLAGS="-mcpu=i686 -O3 -pipe"
       <remove "mmx" and "sse" from USE and add "3dnow">

The Athlon XP supports MMX.


2. # emerge --emptytree world

What about packages not in the world file?


emerge --emptytree --deep world

is needed to recompile those too, although I doubt they're necessary for this intermediate step.

3. install the new cpu

  4. edit make.conf to have the following:
       CFLAGS="-mcpu=athlon-xp -O3 -pipe"

Why -mcpu? In case he moves back? :)


5. # emerge --emptytree world

emerge -eD world here, definitely.


to me, this seems like a bit of a sledgehammer approach, but it's the
only way i would think you can be sure you'll be able to boot your
system after installing the new cpu.  someone please correct me if they
know of a better solution.

I could only think of unpacking a i386 (or i686) stage1 over his system, which should give enough of a base system to boot and compile with. Not guaranteed though. Maybe stage2?


MAL


-- [EMAIL PROTECTED] mailing list



Reply via email to