4.6.5 build error
Joel Sherrill <joel@OARcorp.com>
joel.sherrill at OARcorp.com
Fri Oct 7 12:31:16 UTC 2005
Jerry Needell wrote:
> 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"
> --prefix=/home/needell/leon/rtems/install
>
> The build fails with the following:
>
>
> gmake[4]: Entering directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2/exec/score'
> Making all in .
> gmake[5]: Entering directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2/exec/score'
> 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
> ../../../../../../rtems-4.6.5/c/src/../../cpukit/score/src/apiext.c
> cc1: bad value (cypress) for -mcpu= switch
> gmake[5]: *** [o-optimize/apiext.o] Error 1
> gmake[5]: Leaving directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2/exec/score'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2/exec/score'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2/exec'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon2'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c'
> 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.
Doesn't make sense. How did you configure? I tested that BSP on two
different hosts so I don't see why it would do that.
--joel
More information about the users
mailing list