gcc-4.1.1 pass2 cannot find limits.h

f.l. texlexsex at gmail.com
Thu Jun 29 23:26:00 PDT 2006


well, short answer is yes.

i created a new partition, make symbolic link to /tool,
clean all enviroment variables except HOME, TERM and so on,

  binutils-2.17
  gcc-4.1.1 pass 1
  Linux-Libc-Headers-2.6.12.0
  Glibc-2.4
  Tcl-8.4.13
  Tk-8.4.13
  Expect-5.44.1
  DejaGNU-1.4.4

these all went fine, and follow the instructions in lfs-book, except
packages are newer version than lfs-book.

On 6/30/06, Chris Staub <chris at beaker67.com> wrote:
> 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
> > 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.
>
> 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?
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>



More information about the lfs-support mailing list