On 6/23/20 3:01 PM, Frans de Boer wrote:
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.

Copy/paste is your friend.  Even if you are using scripts.

  -- Bruce

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