building cross-compiling tools on -CURRENT

Andrew Turner andrew at fubar.geek.nz
Mon Nov 3 15:06:37 UTC 2014


On Sun, 2 Nov 2014 08:08:29 +0100
Zsolt Udvari <udvzsolt at gmail.com> wrote:

> I've tried similar about a one month ago and I ran into linker error
> too. I've read this:
> " For 64-bit targets (i.e. mips64) use an 64-bit host (i.e. amd64).
> For 32-bit targets (i.e. armv6) use an 32-bit host (i.e. i386) or
> compat-32. It may be possible to emulate 32-bit targets on a 64-bit
> host in the future but currently that is not possible. "
> https://wiki.freebsd.org/QemuUserModeHowTo
> I don't find the url but as I remember it was written somewhere that
> it maybe causes linker errors.

That page is taking about running applications under QEMU its usermode
emulation. For cross-building world and the kernel there is no for
QEMU.

Cross building for arm on an amd64 host is supported, however it would
appear the xdev target is under tested as it it quite often broken.

Andrew


More information about the freebsd-arm mailing list