A patch to compile sysroot GCC without Glibc Headers installed

Earth Engine earthengine at gmail.com
Wed Apr 9 23:25:10 PDT 2008


Hi All,

I am trying to build a CLFS SYSROOT system with Binutils 2.18/GCC
4.2.3/Glibc-2.7 over X86_64 system, and I hate to install the Glibc
header before compiling GCC.

I found this patch commands seems works perfectly:

cp gcc/configure{,.orig}
sed -e 's/inhibit_libc=false/inhibit_libc=true/g' gcc/configure.orig >
gcc/configure

What you need to do is run the command above before you change to
gcc-build directory.

Regards,

Joe Ren



More information about the lfs-support mailing list