Crossbuilding for armv6

Jonathan Chen jonc at chen.org.nz
Tue Apr 18 07:09:09 UTC 2017


Hi,

I'm using https://wiki.freebsd.org/QemuUserModeHowTo to help me
crossbuild some ports for my RPI2 on my amd64, with moderate success.
I've managed to build the ports using pure-emulation, but attempts to
use host cross-compilation to improve build times currently fail;
partly because I believe the instructions are out of date.

The instructions on "Cross Building Using the Host Cross Compiler (and
other toolchain friends)" has a section on setting up the environment:
  # export CC=/usr/obj/usr/src/tmp/usr/bin/cc
  # export CPP=/usr/obj/usr/src/tmp/usr/bin/cpp
  # export CXX=/usr/obj/usr/src/tmp/usr/bin/c++
  ...

However, on STABLE-11/amd64, these binaries are not present. Does
anyone here know what the correct entries should be?

Cheers.
-- 
Jonathan Chen <jonc at chen.org.nz>


More information about the freebsd-arm mailing list