Sorry, the previous post has some typos. I used the dummy.c file for the toochain test of the dynamic linker. The grep blah blah sentence can be ignored. Thanks again.
Regards, Eric On Wed, Jan 27, 2016 at 10:27 AM, Eric Dong <[email protected]> wrote: > Hello everyone, > > I am now building LFS 7.8 on Ubuntu 12.04 on x86 based computer. I > followed the instructions and went through all the way till chapter 6 > "Installing Basic Software System" and in section 6.17 when testing the > toolchain with the dummy.grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' > c file. When using the command "readelf -l a.out | grep ': /lib' > The output is "/tools/lib/ld-linux.so.2" instead of "/lib/ld-linux.so.2". > The other checks such as header files, startfiles, search paths are all > correct. > > However, when checked the cc command, the dynamic linker points to the > correct location /lib/ld-linux.so.2 > root:/sources/gcc-build# ldd /usr/bin/cc > linux-gate.so.1 (0xb76fa000) > libm.so.6 => /lib/libm.so.6 (0xb76aa000) > libc.so.6 => /lib/libc.so.6 (0xb74f3000) > /lib/ld-linux.so.2 (0xb76fb000) > > Can please help advise on this? Thanks. > > Regards, > Eric >
-- 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
