On 2018-08-10 15:04 +0800, norman wrote:
> Hi All,
>
> I'm a newbie in the lfs, I want to build a new distro, and I did as LFS
> v8.2 told me,
>
> but I met a problem while build libstdc++(Chapter 5.8).
>
> hecking whether the x86_64-lfs-linux-gnu-gcc linker
> (/mnt/lfs/tools/x86_64-lfs-linux-gnu/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... configure: error: Link tests
> are not allowed after GCC_NO_EXECUTABLES.
>
> Can anyone tell what's wrong with this?
Did the check in 5.7:
> echo 'int main(){}' > dummy.c
> $LFS_TGT-gcc dummy.c
> readelf -l a.out | grep ': /tools'
succeed? Can you run the generated "a.out" file (issue `./a.out`)?
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
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