On Sunday 03 June 2007 9:10 am, Leo Peschier wrote: > > Am I missing a path in gcc include path? > > So it seems: > [~]$ find /usr -name stdarg.h > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/stdarg.h > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/include/stdarg.h > > > If so how do I check it? > > [~]$ cpp -v > ... > #include <...> search starts here: > /usr/local/include > /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include > /usr/include > ... > > Hope this is of some help. > > Leo.
Yes it was some help cpp -v gives on my build system gives me the same so I don't think I messed up when I built LFS 6.2 stable. How does one add /usr/include/linux to the spec file? If I am looking at this right, the include path is in the gcc spec file? I tried adding -I/usr/include/linux to the CFLAGS and CXXFLAGS for this package (in the script) but it did not work. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
