Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 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
Config
Retired Dev
Retired Dev


Joined: 25 May 2003
Posts: 187
Location: Zurich, Switzerland

PostPosted: Fri Jan 02, 2004 7:04 pm    Post subject: Gentoo on Athlon64 Reply with quote

I just recently ordered an Athlon64 3000+, which is going to arrive pretty soon - and of course, Gentoo is going to be the OS installed on it.
From what I've read, there are 3 modes it can run on:
- Compat (32-bit mode)
- 64-compat (Enabling 64-bit extensions, but keeping 32-bit compatibility)
- 64-bit (Only 64-bit apps run on it)

Of course, Gentoo true 64-bit would be nice, but I've read too, that an app is has to be ported to it - if this is the case, there aren't so many apps to choose from.
So in what mode would you install Gentoo? And what are some of the drawbacks? Thanks a lot
_________________
Config - caught by a chronic disease called tuxmania....
Back to top
View user's profile Send private message
mad man moon
Apprentice
Apprentice


Joined: 14 Dec 2003
Posts: 160
Location: Schirgiswalde, GER

PostPosted: Sat Jan 03, 2004 11:21 am    Post subject: Reply with quote

I would take 64-compat. There you get the best of two worlds:
Most apps are still not ported to 64bit, but you can still use them.
Your able to use the ported apps with better performance than in 32bit mode.
_________________
Join the adopt an unanswered post initiative today!
Back to top
View user's profile Send private message
the lone crouton
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2003
Posts: 119

PostPosted: Tue Jan 06, 2004 11:19 pm    Post subject: Reply with quote

Does the source need to be "ported?" Surely you just compile it with k8 in you CFLAGS???
Back to top
View user's profile Send private message
jshaw523
n00b
n00b


Joined: 29 Dec 2003
Posts: 12
Location: Columbus, OH

PostPosted: Tue Jan 06, 2004 11:47 pm    Post subject: Reply with quote

If the software is well written then it should be a simple matter of just compiling things with the right cflags... but unfortunetly some software isn't well written. Occasionally you will have people that do things like memcpy to copy arrays and what not that might not have the same desired results when you change the integer from 32bit words to 64bit words. Occasionally some people will sneak asm into there C code because they wanted to do something quickly and they will reference the old 32bit or even 16bit registers on the x86. While I don't know that referencing the old 32 bit registers causes a problem (referencing the old 16 bit registers doesn't cause a problem on 32 bit x86 CPU's) it might. So in short, just compiling the code with an x86-64 version of GCC doesn't mean everything out there will work right. Because of this I would definitly go with 64-compat mode so you can go back to 32 bit if you have trouble getting an application to compile or run correctly.
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Sat Jan 10, 2004 1:34 am    Post subject: Reply with quote

It seems that -march=k8 doesn't work yet...

Quote:
$ gcc -march=k8 -o test -c test.c
cc1: error: bad value (k8) for -march= switch
cc1: error: bad value (k8) for -mcpu= switch


Quote:
$ gcc --version
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)

_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
floffe
Guru
Guru


Joined: 24 Nov 2003
Posts: 414
Location: Linköping, Sweden

PostPosted: Sat Jan 10, 2004 2:01 am    Post subject: Reply with quote

I think it should be -march=athlon-4 (or possibly march=athlon64). The gcc 3.3.2 manual has this option with the other cpu options, but it is not specified what it does.
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