Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 19:09:08 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-arm@freebsd.org
Subject:   Crossbuilding for armv6
Message-ID:  <CAJuc1zN6kx2bQfEMMNTb_sx=vC8Uc51JYL=PmeM8p6x4u1WU4A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zN6kx2bQfEMMNTb_sx=vC8Uc51JYL=PmeM8p6x4u1WU4A>