Drew,
Thanks for the post. I would be interested in learning a little bit
more about how to combine a chroot with qemu-user in order to setup a
cross-compilation environment, whether that is a pointer to the docs or
another blog post that talks about how you use it for Hare development.
Thanks,
Tristan Partin
If you're on Alpine (and you should be):
# apk add qemu-$arch qemu-openrc
# service qemu-binfmt start
Then download and extract a suitable tarball, such as the "mini root
filesystems" available here:
https://alpinelinux.org/downloads/
Bind mount /dev and /proc (and /sys I guess) into the new root, then run
chroot path/to/root/ /bin/sh and you're in.