Errors while compiling GCC
lord_alan at dsl.pipex.com
Tue Oct 17 01:55:34 PDT 2006
Denis Silin wrote:
> I downloaded gcc-4.0.3, applied a patch gcc-4.0.3-specs-1.patch (patch -p1 <gcc-4.0.3-specs-1.patch in gcc-4.0.3 folder), configured it like this
> ../gcc-4.0.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
> All like in the book.
> There is an error like that.
> In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64:
> ../../gcc-4.0.3/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
> ../../gcc-4.0.3/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
> What can I do with it?
I'm guessing that your host isn't up to scratch or you need to install
the "devel" packages from your distro.
What host distribution and version are you using? And what is the kernel
What version of the book are you using?
Have you read the prerequisites for building the book, and more
importantly the host System requirements:
More information about the lfs-support