Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
32 bit on athlon64
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
uberkermitt
Tux's lil' helper
Tux's lil' helper


Joined: 05 Mar 2005
Posts: 107

PostPosted: Sat Mar 05, 2005 6:04 am    Post subject: 32 bit on athlon64 Reply with quote

I would like to do this on my computer - but when I got started with the install, I realised I was not sure of what architecture to call the machine in my make.conf...

any thoughts
Back to top
View user's profile Send private message
robet
l33t
l33t


Joined: 06 Sep 2004
Posts: 807
Location: Earth/NorthAmerica/USA/NY

PostPosted: Sat Mar 05, 2005 6:29 am    Post subject: Reply with quote

CHOST="x86_64-pc-linux-gnu"
and
CFLAGS="-O2 -fomit-frame-pointer -pipe -march=athlon64"
_________________
no software patents in europe! | adopt an unanswered post.
Back to top
View user's profile Send private message
dusdus
Apprentice
Apprentice


Joined: 20 Jan 2005
Posts: 208
Location: Netherlands

PostPosted: Sat Mar 05, 2005 11:29 am    Post subject: Reply with quote

Check these notes, especially the ones about multilib, it did the trick for me :-)
http://www.gentoo.org/proj/en/base/amd64/technotes.xml?part=2&chap=4
_________________
Sorry, I don't understand...
Back to top
View user's profile Send private message
mike4148
l33t
l33t


Joined: 09 Sep 2003
Posts: 641

PostPosted: Sat Mar 05, 2005 11:02 pm    Post subject: Reply with quote

If you're talking about doing a fully 32-bit install, then do everything as if your CPU were an Athlon XP. That is,
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"

If you're talking about a 64-bit install that is 32-bit compatible, follow the aforementioned guide and use CHOST/CFLAGS like those mentioned.

One extremely minor issue with robet's 64-bit CFLAGS:
Quote:
CFLAGS="-O2 -fomit-frame-pointer -pipe -march=athlon64"

-fomit-frame-pointer is implied by -O2 and above (or is it -O1 and above? I can't recall.). Thus, it's more or less pointless to specify it.
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