gcc-4.1.1 pass2 cannot find limits.h

Chris Staub chris at beaker67.com
Thu Jun 29 22:58:31 PDT 2006

lfs-support-bounces at linuxfromscratch.org wrote:
> hi,
> i'm using gcc-4.1.1 to build the tool chain,
> while it blocked at pass 2,
> and gcc reported no limits.h was found.
> my patch to gcc source:
> in gcc/configure:
> change STMP_FIXINC=stmp-fixinc
> in gcc/cppdefaults.h:
> added
> and changed various string values in header files in gcc/config/i386/,
> as mentioned in gcc-specs-patch
> and i find there is a
> #include_next <limits.h>
> which caused the problem,
> anyone have the same problem?
> thanks.

Not likely, since it's not very likely many people are attempting LFS 
with that version of GCC. Have you deviated from the book in any way 
other than the different version of GCC?

More information about the lfs-support mailing list