Re: Cross-compile worked, cross-install not so much ...

From: Paul Mather <paul_at_gromit.dlib.vt.edu>
Date: Mon, 25 Apr 2022 23:17:18 UTC
On Apr 25, 2022, at 3:26 PM, Patrick M. Hausen <pmh@hausen.com> wrote:

> Hi,
> 
>> Am 25.04.2022 um 21:18 schrieb Brooks Davis <brooks@freebsd.org>:
>> Cross install is not supported.  As you have seen, certain tools are
>> bootstrapped on the build host and used during the install process.  You
>> might be able to get away with nuking
>> /usr/obj/usr/src/arm64.aarch64/tmp/legacy (or maybe tmp) and then
>> running `make toolchain` to build native versions of those tools.
> 
> that comes as a big surprise and disappointment. What is the point of cross-compiling, then?
> How to update a small slow embedded platform?


At least as far back as July 2016 I kept my FreeBSD/arm systems updated by cross-building on a FreeBSD/amd64 system and using PkgBase to update the OS on the FreeBSD/arm systems:

	https://lists.freebsd.org/pipermail/freebsd-arm/2016-July/014444.html

This worked well for me, at least until I stopped running FreeBSD on my ARM systems.  I don't know whether it still works.

Cheers,

Paul.