On 12/10/2015 06:55 μμ, Bruce Dubbs wrote:
Jun Hu wrote:
another thing to note is the configure command contains
"--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/5.2.0", however
on my
system there is no such directory:
"""
lfs at vm-svr:~$ echo $LFS_TGT
x86_64-lfs-linux-gnu
lfs at vm-svr:~$ ls -l /tools/$LFS_TGT/
total 8
drwxr-xr-x 2 lfs lfs 4096 Oct 11 15:44 bin
drwxr-xr-x 3 lfs lfs 4096 Oct 11 15:44 lib
"""
The /tools/$LFS_TGT/include/c++/5.2.0 should have been installed by gcc.
I didn't install lfs 7.8 and I may be wrong but I think that
this directory is installed by Libstdc++-5.2.0 .
If I grep for "/tools/i686-lfs-linux-gnu/include/c++/4.9.2"
on tools buildlogs on my x86 lfs 7.7 systemd installation
it finds references only in libstdc++-build.log .
Furthermore gcc-5.2.0/libstdc++-v3/configure has:
--with-gxx-include-dir=DIR installation directory for include files
Following error in config.log (in $LFS/sources/gcc-build) seems also
suggest the specified include-dir is not right.
"conftest.c:10:19: fatal error: stdio.h: No such file or directory
That's your problem. /usr/include/stdio.h should be installed by glibc.
Is this a typo? s/usr/tools/
--
Thanos
--
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