well i am still getting that error.
If you're getting an error from configure like: checking whether we are using GNU C... no
configure: error: GNU libc must be compiled using GNU CC
It may be because egrep (from the grep package) isn't working.
To test if egrep is working before reinstalling the grep package in Chapter 6, run the following command from outside chroot: file $LFS/usr/bin/egrep
If it doesn't say "statically linked" you have a problem and need to reinstall the grep package.
To test if egrep is working after reinstalling the grep package in Chapter 6, run the following command from inside chroot: egrep root /etc/passwd
If it doesn't print root's line from /etc/passwd, again, you have a problem. (This test also works if you encounter the problem after rebooting into the new LFS system.)
I followed everything there and all of that seems to work except the statically linked part. I am really confused. I reinstalled grep and I also got the source for GNU gcc 3.0 and installed that as well. I am most confused, plz help. thanks
well I rereinstalled grep and this time it comes up statically linked but I still get the same error. most confused