Am Sonntag, 14. Mai 2006 20:41 schrieb Dan Nicholson: > That's correct. > > Can you try this other sanity check that will actually tell us > something useful about how it's searching for the headers. > > cat > dummy.c << "EOF" > #include <stdio.h> > main(){} > EOF > > cc -H dummy.c > > That should show you the trail of headers it picks up.
Here come's the result: . /tools/include/stdio.h .. /tools/include/features.h ... /tools/include/sys/cdefs.h ... /tools/include/gnu/stubs.h .. /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h .. /tools/include/bits/types.h ... /tools/include/bits/wordsize.h ... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h ... /tools/include/bits/typesizes.h .. /tools/include/libio.h ... /tools/include/_G_config.h .... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h .... /tools/include/wchar.h ..... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h ..... /tools/include/bits/wchar.h .... /tools/include/gconv.h ..... /tools/include/wchar.h ...... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h ..... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stddef.h ... /tools/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stdarg.h .. /tools/include/bits/stdio_lim.h .. /tools/include/bits/sys_errlist.h Somethign different. I'm not sure wether it is of any importance, but ... In chapter 6.2 it tells how to prepare Virtual Kernel File Systems. As I have not run my PC around the clock I had to take a new start after reboot next day. So until chapter 6 I alwas had to "export LFS" and to "su - lfs". Now, I'm not sure wether I had a restart of my PC somewhere in chapter 6. Yesterday I realized, that for continuing in chapter 6 I have to remount "Virtual Kernel File Systems". Therefore since yesterday I make sure to 1.) mount --bind /dev $LFS/dev 2.) mount -vt devpts devpts $LFS/dev/pts 3.) mount -vt tmpfs shm $LFS/dev/shm 4.) mount -vt proc proc $LFS/proc 5.) mount -vt sysfs sysfs $LFS/sys 6.) chroot "$LFS" /tools/bin/env -i \ HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ /tools/bin/bash --login +h Is it of any relevance for the steps taken in "6.12. GCC-4.0.3" to have the "Virtual Kernel File Systems" right? > Dan Leonhard -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page