4.6.5 build error

Jerry Needell jerry.needell at unh.edu
Fri Oct 7 12:24:01 UTC 2005

OK - here is my first attempt to build rtems-4.6.5 for the sparc. My 
configuration file is:

#! /bin/sh
../rtems-4.6.5/configure  --target=sparc-rtems --disable-posix 
--disable-itron --enable-tcpip --enable-networking --disable-cxx  
--enable-tests --enable-rtemsbsp="leon2 leon3  erc32" 

The build fails with the following:

gmake[4]: Entering directory 
Making all in .
gmake[5]: Entering directory 
mkdir o-optimize
gcc32 --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 
cc1: bad value (cypress) for -mcpu= switch
gmake[5]: *** [o-optimize/apiext.o] Error 1
gmake[5]: Leaving directory 
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
make: *** [all-recursive] Error 1

Any suggestions?  I am puzzlesd by why it is using my native compiler 
here "gcc32" rather than the cross compiler.
thanks - Jerry

More information about the users mailing list