ports cross-compilers vs. native toolchain

Stanislav Sedov stas at FreeBSD.org
Sun Mar 4 01:30:39 UTC 2012


On Mar 3, 2012, at 11:03 AM, Tim Kientzle <tim at kientzle.com> wrote:

> 
> 2) Missing div/mod functions in ARM libgcc.
> 
> You can work around this by adding -lc to a couple
> of places in the u-boot makefiles.  I'm also looking into
> a fix for FreeBSD libgcc.  (Looks like these functions
> were disabled deliberately?

Hmm, maybe they are disabled because libc supplies them?
IIRC these do exists in cross-gcc -- it builds it with newlib libc,
not FreeBSD libc, thus you cannot use it cross-compile FreeBSD
userland applications, but it is perfect for standalone stuff.

--
ST4096-RIPE


More information about the freebsd-arm mailing list