On 5/16/06, Mag. Leonhard Landrock <[EMAIL PROTECTED]> wrote:
echo | /sources/gcc-build/gcc/cc1 -v ignoring nonexistent directory "/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include" ignoring nonexistent directory "/usr/lib/../i686-pc-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include End of search list.
This seems to be the problem. I'm not the gcc expert, but /usr/include should be there after /usr/local/include. I'm looking at the source at cppdefault.c, and it looks like the only way /usr/include wouldn't be included is if the build thought you were creating a cross compiler. But then I don't think you would have /usr/local/include in the path either. This might be a dead end I'm leading you down, but could you find the part in the build log where cppdefault.o is compiled? It should be pretty long and pass a bunch of -D preprocessor directives. You can search for '-o cppdefault.o' and look above it. Mine looks like this from a successful build (wrapping might screw this up really bad): gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -fomit-frame-pointer -DHAVE_CONFIG_H -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 \ -DGCC_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include\" -DGPLUSPLUS_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../..`echo /usr | sed -e 's|^/usr||' -e 's|/[^/]*|/..|g'`/include/c++/4.0.3\" -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../..`echo /usr | sed -e 's|^/usr||' -e 's|/[^/]*|/..|g'`/include/c++/4.0.3/i686-pc-linux-gnu\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../..`echo /usr | sed -e 's|^/usr||' -e 's|/[^/]*|/..|g'`/include/c++/4.0.3/backward\" -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" -DCROSS_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/sys-include\" -DTOOL_INCLUDE_DIR=\"/usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/include\" \ -c ../../gcc-4.0.3/gcc/cppdefault.c -o cppdefault.o -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
