View previous topic :: View next topic |
Author |
Message |
padeen n00b
Joined: 23 Oct 2003 Posts: 4
|
Posted: Thu Oct 23, 2003 10:48 pm Post subject: Build on Different Machine? |
|
|
I want to build on an Athlon XP2000+ for use on an old Pentium I 133. I plan to tar up the entire tree and copy it over to the old machine, then untar it and bingo!, I should have a gentoo optimized for the old machine.
From what I've understood of the install manual, I should set the flags like this:
CHOST="I686-PC-LINUX-GNU" ; build on new machine
CFLAGS="-march=i586 -O3 -funroll-loops -pipe"
and not like this:
CHOST="I586-PC-LINUX-GNU" ; build for old machine
CFLAGS="-march=i586 -O3 -funroll-loops -pipe"
Can someone confirm the correct flags?
Thanks |
|
Back to top |
|
|
shifted n00b
Joined: 24 Oct 2003 Posts: 8
|
Posted: Fri Oct 24, 2003 12:03 am Post subject: |
|
|
The pentium cannot understand i686 instructions. To build for the pentium, you need i586 set not i686. |
|
Back to top |
|
|
padeen n00b
Joined: 23 Oct 2003 Posts: 4
|
Posted: Fri Oct 24, 2003 4:09 am Post subject: |
|
|
Thanks. I wan't sure whether CHOST referred to the build machine or the target machine. |
|
Back to top |
|
|
|