Software FP in RTEMS 4.7 ARM prebuild tools?

Markku Puro markku.puro at kopteri.net
Sat Apr 9 13:49:00 UTC 2005


Hi Joel,

Is software FP supported in ARM RTEMS 4.7 toolset?

I tried to compile gba BSP with rtems-4.7-arm-rtems4.7-gcc-gcc3.4.0newlib1.12.0-1.i686.rpm
and rtems-4.7-arm-rtems4.7-gcc-gcc3.3.5newlib1.12.0-2.i686.rpm.
-------
make[5]: Entering directory `/usr/tools/build_rtems_gba/arm-rtems4.7/c/gba/testsuites/samples/hello'
arm-rtems4.7-gcc --pipe -B../../../../../lib/ -B../../../../../gba/lib/ -specs
bsp_specs -qrtems -mcpu=arm7tdmi -msoft-float -mstructure-size-boundary=8 -O3    -Wall  -static -Wl,-Map,o-optimize/hello.map -o
o-optimize/hello.obj o-optimize/init.o ../../../../../gba/lib/no-dpmem.rel ../../../../../gba/lib/no-event.rel
../../../../../gba/lib/no-msg.rel ../../../../../gba/lib/no-mp.rel ../../../../../gba/lib/no-part.rel
../../../../../gba/lib/no-signal.rel ../../../../../gba/lib/no-timer.rel ../../../../../gba/lib/no-rtmon.rel
/opt/rtems-4.7/lib/gcc/arm-rtems4.7/3.4.0/../../../../arm-rtems4.7/bin/ld: ERROR:
/opt/rtems-4.7/lib/gcc/arm-rtems4.7/3.4.0/crtbegin.o uses hardware FP, whereas o-optimize/hello.obj uses software FP
Success: failed to merge target specific data of file /opt/rtems-4.7/lib/gcc/arm-rtems4.7/3.4.0/crtbegin.o
/opt/rtems-4.7/lib/gcc/arm-rtems4.7/3.4.0/../../../../arm-rtems4.7/bin/ld: ERROR:
/opt/rtems-4.7/lib/gcc/arm-rtems4.7/3.4.0/../../../../arm-rtems4.7/lib/libc.a(ctype_.o) uses hardware FP, whereas
o-optimize/hello.obj uses software FP
------

Older toolsets have separated hardware FP libraries.
Latest tools seems to use hardware FP libraries by default but there isnt any soft-float libs?

 -Mp

--8<--------------------------------------------------------------------------
Markku Puro   markku.puro at kopteri.net  Tiputanhuantie 6
              mobile +358 400 863 845  38450 Mouhijärvi
              http://www.kopteri.net/koti/markku.puro







More information about the users mailing list