This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: How to build or install x86 glibc on MIPS CPUs
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-help at sourceware dot org
- Date: Tue, 4 Dec 2018 15:41:54 -0200
- Subject: Re: How to build or install x86 glibc on MIPS CPUs
- References: <f193bdd.92f8.16710ae2b94.Coremail.wj193102@163.com>
On 14/11/2018 03:25, wj193102 wrote:
> Hi, everyone.
> I want to use the command 'qemu-i386/qemu-x86_64' on MIPS CPUS. I have installed the QEMU successfully, but I must install x86 glibc for launching the X86 executable file by QEMU. The OS has the libs of glibc on MIPS.
> I don't know how to build or install x86 glibc on MIPS CPUs. Please help me, Thanks.
>
You can either try to use build-many-glibcs.py on your mips
host to build a x86_64 cross-compiler and thus build glibc
or use canadian toolchain to accomplish the same.