Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which arch / tarball for 64bit intel proc?
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
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Fri Jan 11, 2008 3:32 pm    Post subject: Which arch / tarball for 64bit intel proc? Reply with quote

Quote:

Intel Core 2 Duo/Quad / Xeon 51xx/53xx

vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU XXXX @ XXXGHz

32 bit profile (x86)

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

64 bit profile (amd64)

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"


So i want the 64bit profile using an Intel chip. amd64 arch tarball to download, or x86?

Thanks
_________________
None
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Fri Jan 11, 2008 3:35 pm    Post subject: Reply with quote

i think amd64 is the x86_64 which is the same(or almost the same) for both amd and intel 64bit cpus...
_________________
myblog
FOSS NTUA Community
Back to top
View user's profile Send private message
muhsinzubeir
l33t
l33t


Joined: 29 Sep 2007
Posts: 948
Location: /home/muhsin

PostPosted: Fri Jan 11, 2008 4:07 pm    Post subject: Reply with quote

Got the same proc here i just follwed these flags on this site http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx

Quote:
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

Any reasons for the choice of your flags?--the prescott part...may be i can just tweak mine to follow yours if there are good reason to do so...coz i really just follow that site without any reasoning or testing...which is right the profile is amd64.

My installation on the machine with this kind proc, stuck until now if you face error in compilling about binary execution...the error much more says like cant compile executable C/C++...En if you solve it can you please provide a solution on this thread, I cant get past this point for a while now...this is the thread to the error that I faced to get 64bits profile on my machine https://forums.gentoo.org/viewtopic-t-643136.html
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Fri Jan 11, 2008 4:11 pm    Post subject: Reply with quote

why don't you use the 64bit profile(and cflags),since your arch is 64bit?...
_________________
myblog
FOSS NTUA Community
Back to top
View user's profile Send private message
ShinyThings
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2007
Posts: 89
Location: Ontario

PostPosted: Fri Jan 11, 2008 8:46 pm    Post subject: Reply with quote

muhsinzubeir wrote:
Got the same proc here i just follwed these flags on this site http://gentoo-wiki.com/Safe_Cflags#Intel_Core_2_Duo.2FQuad_.2F_Xeon_51xx.2F53xx

Quote:
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

Any reasons for the choice of your flags?--the prescott part...may be i can just tweak mine to follow yours if there are good reason to do so...coz i really just follow that site without any reasoning or testing...which is right the profile is amd64.

My installation on the machine with this kind proc, stuck until now if you face error in compilling about binary execution...the error much more says like cant compile executable C/C++...En if you solve it can you please provide a solution on this thread, I cant get past this point for a while now...this is the thread to the error that I faced to get 64bits profile on my machine https://forums.gentoo.org/viewtopic-t-643136.html


Code:
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"


This is better for x86_64. A future version of gcc will support --march-core2, but I don't think the stable one in portage does.
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Fri Jan 11, 2008 9:03 pm    Post subject: Reply with quote

ShinyThings wrote:

Code:
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"


This is better for x86_64. A future version of gcc will support --march-core2, but I don't think the stable one in portage does.

actually, the -fomit-frame-pointer isn't needed, since it's by default enabled in 64bit archs(both amd and intel i think)...
_________________
myblog
FOSS NTUA Community
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