View previous topic :: View next topic |
Author |
Message |
kdvgent Guru
Joined: 29 Sep 2004 Posts: 352 Location: Belgium
|
Posted: Sun Jan 01, 2006 9:34 pm Post subject: Compilation problems [solved] |
|
|
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 |
|
|
bibleman n00b
Joined: 26 Apr 2005 Posts: 43
|
Posted: Sun Jan 01, 2006 10:13 pm Post subject: |
|
|
-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 |
|
|
kdvgent Guru
Joined: 29 Sep 2004 Posts: 352 Location: Belgium
|
Posted: Mon Jan 02, 2006 8:38 pm Post subject: That's my error |
|
|
Thanks, I indeed had forgotten the hyphen. |
|
Back to top |
|
|
wantilles Tux's lil' helper
Joined: 12 Aug 2003 Posts: 136 Location: Athens - Greece
|
Posted: Tue Jan 03, 2006 2:01 pm Post subject: |
|
|
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:
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 |
|
|
|