Denis Silin wrote:
Hello.
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
version?
What version of the book are you using?
Have you read the prerequisites for building the book, and more
importantly the host System requirements:
http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html
Alan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page