On Fri, 2025-05-09 at 18:31 +0100, James Le Cuirot wrote: > waf supports executing binaries via a wrapper for cross-compiling. This > may already be handled by a QEMU outside this environment if binfmt_misc > has been used with the F flag, and we cannot add a cross-only dependency > on QEMU. For these reasons, this sets the prefix using QEMU_LD_PREFIX > rather adding QEMU's -L arg to the --cross-execute option, and it checks > whether QEMU is present before trying to use it. > > I have used this to cross-compile Samba and its waf-based dependencies. > > Signed-off-by: James Le Cuirot <ch...@gentoo.org>
Actually, hold that thought. I've considered cases where the architecture is the same but the libc is different. While we could still use QEMU in that case, it would be better not to. Let me rethink this.
signature.asc
Description: This is a digitally signed message part