[uClibc]uClibc and No Floating Point Unit and GCC3.2.2 (ARM CrossCompiler)

Pedro Sanchez psanchez at nortelnetworks.com
Tue Feb 11 14:50:37 UTC 2003


I add the following to the toolchain's Makefile to compile without fp
support for powerpc (ppc405):

EXTRA_GCC_CONFIG_OPTIONS=--with-cpu=403 --nfp --without-fp

This combined with unsetting fp support in uClibc (which you already
have done) does the trick for me.

-- 
Pedro



Hi,

is it possible to get the GCC3.2.2 and uClibc without FPU and SOFT_FLOAT
successfully compiled in final step?

The final steps allways stop with error:

/pkg/3.2.2/toolchain/arm-linux/bin/ld: ERROR:
/pkg/3.2.2/build/gcc-final/gcc/crtendS.o uses hardware FP, whereas
libgcc_s.so.0.9.9 uses software FP
File format not recognized: failed to merge target specific data of file
/pkg/3.2.2/build/gcc-final/gcc/crtendS.o
/pkg/3.2.2/toolchain/arm-linux/bin/ld: ERROR:
/pkg/3.2.2/toolchain/arm-linux/lib/crtn.o uses hardware FP, whereas
libgcc_s.so.0.9.9 uses software FP
File format not recognized: failed to merge target specific data of file
/pkg/3.2.2/toolchain/arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1







More information about the uClibc mailing list