Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compilation problems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sun Jan 01, 2006 9:34 pm    Post subject: Compilation problems [solved] Reply with quote

I have bought an AMD64 3500+ processor.

I understood from the AMD64 handbook that I should put "march=k8" in my make.conf (CFLAGS="march=k8 -pipe -O2"

But during compilations (textinfo, pciutils) I get the following error:

x86_64-pc-linux-gnu-gcc: march=k8: no such file or directory

Help plse.


Last edited by kdvgent on Mon Jan 02, 2006 8:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
bibleman
n00b
n00b


Joined: 26 Apr 2005
Posts: 43

PostPosted: Sun Jan 01, 2006 10:13 pm    Post subject: Reply with quote

-march=k8

make sure you have the dash in there!
_________________
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting Life
John 3:16
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Mon Jan 02, 2006 8:38 pm    Post subject: That's my error Reply with quote

Thanks, I indeed had forgotten the hyphen.
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Tue Jan 03, 2006 2:01 pm    Post subject: Reply with quote

If your Athlon-64 has one of the following cores:

- Venice
- San Diego
- Manchester (only in dual-core X2 CPUs)
- Toledo (only in dual-core X2 CPUs)

or newer than the above


make sure that you also add the following:

Code:
-msse3


to take advantage of the fully supported SSE3 instructions.

So your CFLAGS line in make.conf should be:

Code:
CFLAGS="-march=k8 -O2 -pipe -msse3"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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