On 24/02/2016 10:56, Bjoern Meier wrote: > Hi, > > Pierre Labastie <[email protected] <mailto:[email protected]>> > schrieb am Mi., 24. Feb. 2016 um 10:22 Uhr: > > > Normally, when compiling libstdc++, the compiler used is the one built at > gcc-pass1 (x86_64-lfs-linux-gnu-g++), which obviously recognizes the > option > '-std=gnu++14'. If you get the above message, it means that the build > machinery is trying to use the one on the host. I suspect something is > wrong, > either in your path or in the configure command (maybe LFS_TGT or LFS is > not > set properly). > > > Yeah, that was my first thought,too. But, here is the invoke (from config.log) > $ ../gcc-5.2.0/libstdc++-v3/configure --target=x86_64-lfs-linux-gnu > --prefix=/tools --disable-multilib --disable-nls --disable-libstdcxx-threads > --disable-libstdcxx-pch > --with-gxx-include-dir=/tools/x86_64-lfs-linux-gnu/include/c++/5.2.0 > > > > Change "--target=.." to "--host=..". This is what is in the book and what works (although configure warns about using --host).
Pierre -- 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
