--- sizo nsibande <[EMAIL PROTECTED]> wrote:

> /sources/gcc-build/gcc/include/limits.h:122:61:
> error: limits.h: No
> such file or directory
> In file included from
> ../../gcc-4.0.3/gcc/crtstuff.c:64:
> ../../gcc-4.0.3/gcc/tsystem.h:111:18: error: time.h:
> No such file or directory
> make[1]: *** [crtbegin.o] Error 1
> make[1]: Leaving directory `/sources/gcc-build/gcc'
> make: *** [install-gcc] Error 2

I had this error myself (gcc not finding header files
that are clearly there) on my first try at building
LFS. Turns out I was patching gcc when I shouldn't.
The patch only applies to the second pass in section
5.11 (in 6.2 stable). Try removing your gcc and build
directory and unpacking again, applying the sed
substitutions from the book but not the patch.

jim

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to