On Sat, 24 Apr 2021 16:05:41 -0700 Josh Triplett <j...@joshtriplett.org> wrote: > I've attached an updated patch implementing this change, which doesn't > depend on gcc-for-host. I didn't realize that gcc-for-host was outdated.
I've been testing this patch extensively today, on an x86-64 host, with musl-dev:amd64 and musl-dev:arm64 co-installed. I've been able to use the arch-prefixed wrappers both to compile native binaries for the x86-64 host and to cross-compile binaries for aarch64. Everything seems to work perfectly and automatically, without any issues.