View previous topic :: View next topic |
Author |
Message |
uberkermitt Tux's lil' helper
Joined: 05 Mar 2005 Posts: 107
|
Posted: Sat Mar 05, 2005 6:04 am Post subject: 32 bit on athlon64 |
|
|
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 |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
dusdus Apprentice
Joined: 20 Jan 2005 Posts: 208 Location: Netherlands
|
|
Back to top |
|
|
mike4148 l33t
Joined: 09 Sep 2003 Posts: 641
|
Posted: Sat Mar 05, 2005 11:02 pm Post subject: |
|
|
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 |
|
|
|