This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Build Glibc With Multi-arch
On 27/10/2018 14:16, Ailomanga sakamoto wrote:
> Hello,guy.
> I am building a toolchains for aarch64.When I built glibc with "--enable-mutli-arch" in configure, it always failed.After I install gcc-multilib by apt,it can pass.
>
> But it will not find gnu/stubs-32.h when I crossing compile a 32bit binary after removed gcc-multilib.I found that the glibc hadn't made stubs-32.h.
>
> I hope to get your help.
>
AArch64 and arm are handled as distinct architectures and require
different triplets and thus different build. I would recommend you
to use the build-many-glibcs.py script to build a complete toolchain
for each ABI.