On 2/15/2018 5:51 AM, René Nyffenegger wrote:
As I am proceeding with building LFS, I am now in Step 6.10, Adjusting the Toolchain.

The book instructs me to

grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' On my system, the output is:

   SEARCH_DIR("=/tools/x86_64-pc-linux-gnu/lib64")
   SEARCH_DIR("/usr/lib")
   SEARCH_DIR("/lib")
   SEARCH_DIR("=/tools/x86_64-pc-linux-gnu/lib")


Although the book tells me to ignore components with '-linux-gnu', I am still a bit worried about the paths that start with /tools. I just want to be 100% positive
about going on with my build process.

So, the question is: can I ignore these -linux-gnu search strings ALTHOUGH they start with /tools?






This is what my build produces, the Output lines are from the Book and what you should be looking for. The lines not prefixed by Output: are the actual lines from the test. I believe you are good to go. The "real" test comes after gcc. That is the one that gave me the most grief. Since I am doing scripted builds and I failed to remove the gcc symlink the install process got all balled up.


Output: [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

Output: /usr/lib/../lib/crt1.o succeeded
Output: /usr/lib/../lib/crti.o succeeded
Output: /usr/lib/../lib/crtn.o succeeded
/usr/lib/../lib/crt1.o succeeded
/usr/lib/../lib/crti.o succeeded
/usr/lib/../lib/crtn.o succeeded

Output: #include <...> search starts here:
Output: /usr/include
#include <...> search starts here:
 /usr/include

Output: SEARCH_DIR(/usr/lib)
Output: SEARCH_DIR(/lib)
SEARCH_DIR("=/tools/x86_64-pc-linux-gnu/lib64")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib")
SEARCH_DIR("=/tools/x86_64-pc-linux-gnu/lib");

Output: attempt to open /lib/libc.so.6 succeeded
attempt to open /lib/libc.so.6 succeeded

Output: found ld-linux-x86-64.so.2 at /lib/ld-linux-x86-64.so.2
found ld-linux-x86-64.so.2 at /lib/ld-linux-x86-64.so.2
removed 'dummy.c'
removed 'a.out'
removed 'dummy.log'

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