Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Build on Different Machine?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
padeen
n00b
n00b


Joined: 23 Oct 2003
Posts: 4

PostPosted: Thu Oct 23, 2003 10:48 pm    Post subject: Build on Different Machine? Reply with quote

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
View user's profile Send private message
shifted
n00b
n00b


Joined: 24 Oct 2003
Posts: 8

PostPosted: Fri Oct 24, 2003 12:03 am    Post subject: Reply with quote

The pentium cannot understand i686 instructions. To build for the pentium, you need i586 set not i686.
Back to top
View user's profile Send private message
padeen
n00b
n00b


Joined: 23 Oct 2003
Posts: 4

PostPosted: Fri Oct 24, 2003 4:09 am    Post subject: Reply with quote

Thanks. I wan't sure whether CHOST referred to the build machine or the target machine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum