Cross compiling GCC for i686-elf linux system - error in glibc

Jonathan Wakely
Tue Feb 26 13:29:00 GMT 2019

On Tue, 26 Feb 2019 at 11:34, Harshal Singhal wrote:
> Hello All,
> I am trying to cross compile the GCC-7.4.0 on windows 64bit-PC (using
> cygwin 32-bit) for target system linux - i686-elf platform.

Yikes. Wouldn't it be easier to just install GNU/Linux? Maybe in a VM.

> 4. NOW, I am trying to compile the glibc (ver - 2.29) using
> --  `CC=${TARGET}-gcc ../glibc-2.29/configure --target=$TARGET
> --host=i686-pc-linux-gnu --prefix=$PREFIX --with-headers=$PREFIX/include
> --disable-werror'
> BUT I am getting the follwing errors ---------------------------------------

This looks like a problem with the glibc build, not with GCC, so you
should ask on a glibc list.

More information about the Gcc-help mailing list