On Sat, 2005-12-31 at 20:26, Karel Gardas wrote: > /home/karel/usr/local/arm-elf1/bin/../lib/gcc/arm-elf/4.0.1/../../../../arm-elf/bin/ld: > > ERROR: > /home/karel/usr/local/arm-elf1/bin/../lib/gcc/arm-elf/4.0.1/be/libgcc.a(_dvmd_tls.o) > > uses hardware FP, whereas hello.xg2 uses software FP > [....] > > if I understand it correctly, then libgcc.a provided in > /home/karel/usr/local/arm-elf1/bin/../lib/gcc/arm-elf/4.0.1/be/libgcc.a is > build with -mhard-float, while my application with -msoft-float. > > Question: any idea how to build GCC tool-chain with soft-float's libgcc.a for > big-endian Xscale? -- here I assume I'm right with my conclusion above, if > this > is not the case please correct me. >
You get this error if you try to use -msoft-float with a gcc configuration that already defaults to -msoft-float. This is because the default object files are marked incorrectly in this case. The easiest way to work around it is to not use the -msoft-float option for these configurations. R.