ARM Cross tools

dave madden dhm at mersenne.com
Fri Aug 3 05:29:32 UTC 2007


Has anybody built a workable cross GCC setup for ARM recently?  Mine
got broken, and when I built a new one, I started getting errors:

/usr/local/packages/crossdev/lib/gcc/arm-generic-elf/4.0.3/../../../../arm-generic-elf/bin/ld: ERROR: ../../ports/Olimex-LPC-P2148/dex1.o uses software FP, whereas demo uses hardware FP
/usr/local/packages/crossdev/lib/gcc/arm-generic-elf/4.0.3/../../../../arm-generic-elf/bin/ld: failed to merge target specific data of file ../../ports/Olimex-LPC-P2148/dex1.o

(repeated for all the files in my executable.)  I did everything I
could think of to turn off hardware FP, and none of the files use FP
anyway.  I think the "failed to merge" might have something to do with
big-endian/little-endian, but I haven't done anything special there.
My microcontroller is little-endian.

I've tried gcc-4.0.3, 4.1.1 and 4.2.1 with and without the RTEMS
patches.  There used to be a useful resource at www.objsw.com, but
that site has fallen off the net.

Any help/suggestions?

Thanks,
d.



More information about the users mailing list