PATCH: building for soft arm.

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Sep 29 08:19:11 UTC 2008


On Sun, Sep 28, 2008 at 12:02:19PM -0500, Rob Landley wrote:
>I'm applying the attached patch to get soft arm floating point to work right.  

Please explain what this patch tried to fix. What does not work (it
works for me..)?
thanks,

>Possibly this is getting deep enough that we just want to let the compiler 
>throw an error if it doesn't understand -msoft-float.
>
>And no, I don't know anybody still using gcc 2.95 on arm.  4.1.2 is working 
>fine for me and I really should upgrade...
>
>Rob

>--- uClibc-0.9.29/Rules.mak	2007-04-17 08:34:11.000000000 -0500
>+++ uClibc-0.9.29-new/Rules.mak	2007-09-01 21:00:30.000000000 -0500
>@@ -378,7 +378,9 @@
> ifneq ($(TARGET_ARCH),nios)
> ifneq ($(TARGET_ARCH),nios2)
> ifneq ($(TARGET_ARCH),sh)
>+ifneq ($(TARGET_ARCH),arm)
> CFLAGS += -msoft-float
>+endif
> endif
> endif
> endif

>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://busybox.net/cgi-bin/mailman/listinfo/uclibc



More information about the uClibc mailing list