Rockbox mail archive
Subject: Re: libarm_support
Magnus Holmgren <magnushol_at_gmail.com> schrieb:
>I don't understand why, but this line in
>Fuze V2 builds for me:
>LIBARMSUPPORT := $(BUILDDIR)/lib/libarm_support.a
>I get this error when linking a rock:
>(.text+0x4): undefined reference to `__div0'
>(.text+0xc): undefined reference to `__div0'
>collect2: ld returned 1 exit status
__div0 should be part of that library, unless I made an error?
>Removing the above line allows the build to continue.
That's because implementations from libgcc are used in this case.
>I'm using gcc 4.6.2 on Cygwin, in case that makes a difference.
Is that your host gcc or arm gcc? We have a supported gcc (the one build by rockboxdev.sh). Compiler versions can make a difference.
Received on 2012-01-28
Page was last modified "Jan 10 2012" The Rockbox Crew