[uClinux-dev] Re: Floating point support

Frank Mölendörp frank.moelendoerp at ewetel.net
Thu May 13 20:48:57 EDT 2010


Thanks for reading and sorry for HTML.

Just for archive:
My first mistake was to use the wrong flags: -mfloat-abi=softfp 
-mfpu=vfpv3xd instead of -mhard-float
The secound one was a correction of the file: 
uClinux-dist/uClibc/libc/sysdeps/linux/arm/Makefile.arch:
-libc-shared-y += $(ARCH_OUT)/aeabi_unwind_cpp_pr1.o
+libc-static-y += $(ARCH_OUT)/aeabi_unwind_cpp_pr1.o
+libc-nonshared-y += $(ARCH_OUT)/aeabi_unwind_cpp_pr1.os

Maybe that one of the above lines is not necessary. However the compiler 
sends no messages like:

------------------8<---------------------8<-----------------------8<---------
/undefined reference to `__aeabi_unwind_cpp_pr0'
or
/error: alias.o uses VFP register arguments, boa does not
------------------8<---------------------8<-----------------------8<---------

Greets

Frank



More information about the uClinux-dev mailing list