gcc-4.1.1 pass2 cannot find limits.h

f.l. texlexsex at gmail.com
Thu Jun 29 21:23:39 PDT 2006


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
 to STMP_FIXINC=

 in gcc/cppdefaults.h:
 added
    #undef STANDARD_INCLUDE_DIR
    #define STANDARD_INCLUDE_DIR 0

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.



More information about the lfs-support mailing list