Isaac D. Cohen wrote:

Hi,

I'm up to the end of section 5.7.1 and everything compiled
successfully. The book now says to do a "sanity check" to see if all
is working out. It doesn't say in what directory to do it,

It doesn't matter as long as lfs user has write permissions in that directory.

but I
figured it must mean /tools/bin. So I went to /tools/bin and tried
compiling the test file (dummy.c) and it failed with the following
error:

/media/isaac/LFS/Programs/Compiler/bin/../lib/gcc/x86_64-lfs-linux-
gnu/6.3.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find
crt1.o: No such file or directory

This usually comes from having /tools point to the wrong place.

Btw /tools is a symbolic link to /media/isaac/LFS/Programs/Compiler.
I'm not sure if this is really a problem or did I just do the test
in the wrong directory. If it is a real problem what does it mean?

Until you understand what is going on, do not deviate from the book. You should have:

/tools -> /mnt/lfs/tools

Go back and start over.

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