On 5/12/06, Mag. Leonhard Landrock <[EMAIL PROTECTED]> wrote:
/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I. -I../../gcc-4.0.3/gcc
-I../../gcc-4.0.3/gcc/. -I../../gcc-4.0.3/gcc/../include
-I../../gcc-4.0.3/gcc/../libcpp/include -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer
\
-c ../../gcc-4.0.3/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
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
Well, gcc is obviously not finding the headers for some reason. Do
you have /usr/include/stdio.h? If you do, then gcc is looking in the
wrong location.
Could you try this check?
$ echo 'main(){}' > dummy.c
$ cc -v dummy.c | grep include
Then look for a section like this:
#include <...> search starts here:
/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include
/usr/include
End of search list.
Your result should be different from that. Could you post the results here?
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page