On Thu, 30 Jun 2022 at 18:14, Paolo Bonzini <pbonz...@redhat.com> wrote: > > > > Il ven 24 giu 2022, 17:57 Richard Henderson <richard.hender...@linaro.org> ha > scritto: >> >> But then the i386 cross-compiler isn't used: > > > Yeah, that was intentional. In theory a softmmu target is freestanding and > does not need anything beyond the compiler install, so configure defaults to > the native compiler, which is biarch. That however assumes that the compiler > install includes the libgcc for both architectures. > > Does that mean that Ubuntu installs GCC without a 32-bit libgcc.a?
I think they package it in a separate package, eg lib32gcc-9-dev (adjust package name to suit gcc version). -- PMM