On 9/28/06, bob <[EMAIL PROTECTED]> wrote:

3. Problem section: 5.4. GCC-4.0.3 - Pass 1

4. Error from 'make bootstrap'
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

<snip>

5. I think I followed the book.

I cut and pated the text of the configure and make statements into a
terminal window where I executed them as commands.  The output from
configure was clean.  I received the same error both with and without
the patch.  When I applied the patch, I entered it as "patch -Np1
-i ../gcc-4.0.3-specs-1.patch"

I think you're getting different sections confused. The -specs patch
is only used for GCC-pass2. It's going to make it so that gcc only
looks in /tools/include for the standard C headers. However, you're at
GCC-pass1, so those headers don't exist yet (they'll be installed by
glibc in a couple sections).

Take another look at the page. No need to apply the patch.

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to