trying to build from cvs - "cc1: bad value (athlonmp) for -march= switch"

Shae Matijs Erisson
Wed, 08 Jan 2003 17:59:30 +0100

==fptools== make all -wr;
 in /home/shae/build/haskell/fpbuild/ghc/rts
../../ghc/compiler/ghc-inplace -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-Wbad-function-cast -optc-I../includes -optc-I. -optc-Iparallel -optc-DCOMPILING_RTS -optc-O2 -optc-fomit-frame-pointer -optc-mpreferred-stack-boundary=2 -optc-march=athlonmp -optc-DTHREADED_RTS -H16m -O -O2 -static    -c Adjustor.c -o Adjustor.o
cc1: bad value (athlonmp) for -march= switch
cc1: bad value (athlonmp) for -mcpu= switch
make[2]: *** [Adjustor.o] Error 1
make[1]: *** [all] Error 1

running "gcc -v" gives:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20021231 (Debian prerelease)

Athlon MP is the correct arch/cpu, and gcc 3.2.2 has -march=athlonmp available.
Any ideas?
Shae Matijs Erisson - 2 days older than RFC0226
#haskell on - We Put the Funk in Funktion