[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building 4.6.6: bad value (cypress) for -mcpu= switch
- Date: Thu, 7 Feb 2008 17:51:23 -0000
- From: Marek.Prochazka at scisys.co.uk (Marek Prochazka)
- Subject: Building 4.6.6: bad value (cypress) for -mcpu= switch
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