Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New amd64 PC, just want to clarify a couple points
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
D-M
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 103

PostPosted: Sun Jan 21, 2007 5:35 am    Post subject: New amd64 PC, just want to clarify a couple points Reply with quote

This is my first AMD system (to date I have used Intel only) and just want to clarify since (to me at least) there seems to be some inconstancy in advice and direction for installing Gentoo on an AMD64 based PC.

System specs

DFI Infinity nForce 4 Ultra
AMD64 X2 Dual Core 4400+


If I am going to install as if this is a regular 32 bit system I do the following

use the x86-minimal install CD
a x86 stage3

But here is where I seem to find some inconstancy, the cflags

should it be

cflag -march=athlon-xp

or

cflag -march=athlon64

The install guides and several forum posts show -march=athlon-xp for athlon64 installs that will be 32bit based.
After cruzing the forum, gentoo-wiki and the gcc docs my gut says athlon64 is now the correct setting, even if I would be doing everything in 32 bit.
Am I correct on this?

If I am going to do a 64 bit install I down load the

amd64-minimal install CD and the amd64 stage3

then set my cflag for march=athlon64

And lastly, the key part that denotes if your system is going to be 32bit or 64bit is the chost setting.

i686-pc-linux-gnu = 32bit

x86-64-pc-linux-gnu = 64bit

correct ?

other then my question about athlon-xp verse athlon64 for the cflag am I understanding the cflag and stages correctly?

and my final question, not cflag releated. When I compile my kernel, I choose athlon64 as my processor type regardless if the system is 32bit or 64bit?

Thanks in advance for helping to clarify this

DM
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jan 21, 2007 11:21 am    Post subject: Reply with quote

Yeah, you've got it. As to the kernel, the processor options are different depending on the arch. On 64-bit, yes, you'll pick "AMD-Opteron/Athlon64"; on 32-bit, you'll use "Opteron/Athlon64/Hammer/K8". So it's still Athlon64, but on 32-bit, it's a much longer list to pick from, so your CPU is down a ways.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
D-M
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2004
Posts: 103

PostPosted: Mon Jan 22, 2007 12:46 am    Post subject: Reply with quote

cool thanks. Just nice to know from time to time you are on the right track when reading the docs
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Mon Jan 22, 2007 6:40 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See https://forums.gentoo.org/viewtopic-t-484738.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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