https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85007
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Is there a new recommended way to get gnatlink to generate a 32-bit bind > file and link object on MULTIARCH systems (x86/x86_64 in this specific > case)? It seems this would be functionality that would be needed by others, > as well as needing a way to cross-compile for target hardware. That's not sufficient though, the entire toolchain must be configured either with multilib/multiarch or as a cross toolchain; IOW fiddling only with gnatlink does not work. For multilib/multiarch, you need to pass the multilib switch to 'gnatmake'. For a cross target, you need to configure the compiler as a cross compiler and the gnattools will automatically follow.