On Fri, 2020-06-19 at 21:13 +0200, Frans de Boer wrote:
> Dear all,
> 
> I follow every step but always stumble on the '$LFS_TGT-gcc dummy.c'
> - 
> in the first glibc.c section - in that crti.o can't be located by ld.
> Looking for crti.o, I find it residing in the $LFS/usr/lib64 
> directory. 

That's the weird thing, /usr/lib64 shouldn't exist. It's the setting of
libc_cv_slibdir, which prevents that.

> So, why can't ld find it?

gcc has been told (with the "case" instruction) to ask ld to look into
/usr/lib, not /usr/lib64.

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

Reply via email to