On 2020-06-22 20:02, Frans de Boer wrote:
On 2020-06-22 14:54, Xi Ruoyao wrote:
echo "#include <iostream> | x86_64-cross-linux-gnu-g++ -E -x c++ -

Result:

# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/mnt/lfs/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "<stdin>"
<stdin>:1:10: fatal error: iostream: No such file or directory
compilation terminated.

--- Frans

I have checked and checked some more times and always overlooked this when configuring ncurses:
--with-gxx-include-dir=$LFS/tools/$LFS_TGT/include/c++/10.1.0

I should have left '$LFS' out of it.

Sorry for the trouble, I should have known better after all these years.

--
A: Yes, just like that                            A: Ja, net zo
Q: Oh, Just like reading a book backwards         Q: Oh, net als een boek 
achterstevoren lezen
A: Because it upsets the natural flow of a story  A: Omdat het de natuurlijke 
gang uit het verhaal haalt
Q: Why is top-posting annoying?                   Q: Waarom is Top-posting zo 
irritant?

-- 
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

Reply via email to