Hi, I am attempting LFS version 7.6 but I got stuck on chapter 5.5.1 (cross GCC compile).
The host is CentOS 6.5 / 64bit: Linux 2.6.32-431.el6.x86_64 #1 SMP The /configure worked ok. The error came during make. The error message is this: .... checking how to run the C++ preprocessor... /lib/cpp configure: error: in `/mnt/lfs/sources/gcc-build/gcc': configure: WARNING: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. checking for unordered_map... no checking for tr1/unordered_map... no checking for ext/hash_map... no checking dependency style of g++... none configure: error: no usable dependency style found make[1]: *** [configure-gcc] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build' make: *** [all] Error 2 I am not sure which parts from config.log I should paste in here as it's 1000 lines long but I'll go ahead and paste some: configure:4799: checking for C++ compiler version configure:4808: g++ --version >&5 ../gcc-4.9.1/configure: line 4810: g++: command not found configure:4819: $? = 127 configure:4808: g++ -v >&5 ../gcc-4.9.1/configure: line 4810: g++: command not found configure:4819: $? = 127 configure:4808: g++ -V >&5 ../gcc-4.9.1/configure: line 4810: g++: command not found configure:4819: $? = 127 configure:4808: g++ -qversion >&5 ../gcc-4.9.1/configure: line 4810: g++: command not found configure:4819: $? = 127 configure:4823: checking whether we are using the GNU C++ compiler configure:4842: g++ -c conftest.cpp >&5 ../gcc-4.9.1/configure: line 1751: g++: command not found Do you have any suggestion? Thanks and kind regards, Andy -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
