View previous topic :: View next topic |
Author |
Message |
alechiko Guru
Joined: 01 Feb 2004 Posts: 465 Location: Inside piano, do not disturb.
|
Posted: Fri Jan 11, 2008 3:32 pm Post subject: Which arch / tarball for 64bit intel proc? |
|
|
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 |
|
|
psomas Retired Dev
Joined: 23 Sep 2006 Posts: 212 Location: Greece
|
Posted: Fri Jan 11, 2008 3:35 pm Post subject: |
|
|
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 |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Fri Jan 11, 2008 4:07 pm Post subject: |
|
|
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 |
|
|
psomas Retired Dev
Joined: 23 Sep 2006 Posts: 212 Location: Greece
|
Posted: Fri Jan 11, 2008 4:11 pm Post subject: |
|
|
why don't you use the 64bit profile(and cflags),since your arch is 64bit?... _________________ myblog
FOSS NTUA Community |
|
Back to top |
|
|
ShinyThings Tux's lil' helper
Joined: 03 Jul 2007 Posts: 89 Location: Ontario
|
Posted: Fri Jan 11, 2008 8:46 pm Post subject: |
|
|
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 |
|
|
psomas Retired Dev
Joined: 23 Sep 2006 Posts: 212 Location: Greece
|
Posted: Fri Jan 11, 2008 9:03 pm Post subject: |
|
|
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 |
|
|
|