Giscardo
08-02-2001, 10:59 PM
I just installed Slack 8.0 from CD. I'm using kernel 2.4.5, and gcc version 2.95.3. Every time i try to compile something with athlon optimizations (by editing the Makefile and adding "-march=athlon" under the "CFLAGS=" section, i get an error saying that it doesn't recognize value "athlon".
For example, when i was tryign to compile the NVIDIA kernel driver for my GeForce2MX, i got the following error:
cc1: bad value (athlon) for -march= switch
In the "make menuconfig" process of compiling kernel 2.4.7, i chose athlon as my CPU, but when i do "make bzImage" all the compiler options it lists when it's doing it work say -march=i686.
I have also tried typing in "export CFLAGS='-march=athlon'", but that didn't make any difference. It seems that the compiler doesn't know how to optimize for athlon cpu's. I had mandrake 8.0 installed last week, and I didn't have trouble setting -march=athlon. I think it was using gcc 2.96.something. I went ot the gcc website but they skip from 2.95.3 to 3.0.
SORRY IF THIS POST IS UGLY, but it's my first time using Lynx, so I don't know how this will be formated.
Thanks for any help, please try to answer soon cause i would like to get this over with.
For example, when i was tryign to compile the NVIDIA kernel driver for my GeForce2MX, i got the following error:
cc1: bad value (athlon) for -march= switch
In the "make menuconfig" process of compiling kernel 2.4.7, i chose athlon as my CPU, but when i do "make bzImage" all the compiler options it lists when it's doing it work say -march=i686.
I have also tried typing in "export CFLAGS='-march=athlon'", but that didn't make any difference. It seems that the compiler doesn't know how to optimize for athlon cpu's. I had mandrake 8.0 installed last week, and I didn't have trouble setting -march=athlon. I think it was using gcc 2.96.something. I went ot the gcc website but they skip from 2.95.3 to 3.0.
SORRY IF THIS POST IS UGLY, but it's my first time using Lynx, so I don't know how this will be formated.
Thanks for any help, please try to answer soon cause i would like to get this over with.