Building 4.6.6: bad value (cypress) for -mcpu= switch

Marek Prochazka Marek.Prochazka at scisys.co.uk
Thu Feb 7 17:51:23 UTC 2008


Hello,

I've been trying to build rtems for leon2 on Ubuntu 7.1/2.6.22. I was
using gcc 4.1 but after I reviewed the archive of this mailing list I
switched to gcc 3.3. (gcc 4.1 was complaining about using -mcpu instead
of 
-mtune).

However, even with gcc 3.3 I have a similar problem:

make[5]: Entering directory
`/home/marek/software/rtems/build/sparc-rtems/c/leon2/exec/score'
mkdir o-optimize
gcc --pipe -DHAVE_CONFIG_H   -isystem ../../../../leon2/lib/include
-D__RTEMS_INSIDE__     -mcpu=cypress -msoft-float  -O2 -g -Wall -ansi
-fasm  -o o-optimize/apiext.o -c
../../../../../../rtems-4.6.5/c/src/../../cpukit/score/src/apiext.c
cc1: error: bad value (cypress) for -mcpu= switch
make[5]: *** [o-optimize/apiext.o] Error 1

This is the way I performed configuration:

 ../rtems-4.6.6/configure --host=i686-pc-linux-gnu
--prefix=/opt/rtems466 --target=sparc-rtems --enable-rtemsbsp="leon2"
--enable-tests

I reviewed this mailing list archive and found a similar problem caused
by the CC env. variable not being set to "gcc". That is not my problem.

I would be very grateful for any help.

Best regards,
Marek Prochazka



More information about the users mailing list