I have just started the build and up to completing build of glibc. I have ran into a problem that others have in compiling the dummy.c. Bottom line is the symbolic link is not working. If I try the example in the book, I get the 'cannot find crt1.o
lfs:/LFS/sources/glibc-build$ $LFS_TGT-gcc dummy.c /LFS/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/5.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /LFS/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/5.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: cannot find crti.o: No such file or directory collect2: error: ld returned 1 exit status If I use "-B" , I get the desired results, "a.out". lfs:/LFS/sources/glibc-build$ $LFS_TGT-gcc -B/tools/lib dummy.c lfs:/LFS/sources/glibc-build$ The same thing happens with a find command: lfs:/$ find /tools -name "ld*" Returned nothing If I use the full path: lfs:/$ find /LFS/tools -name "ld*" /LFS/tools/x86_64-lfs-linux-gnu/bin/ld.bfd /LFS/tools/x86_64-lfs-linux-gnu/bin/ld /LFS/tools/x86_64-lfs-linux-gnu/lib/ldscripts /LFS/tools/include/asm/ldt.h /LFS/tools/etc/ld.so.cache /LFS/tools/bin/ldd /LFS/tools/share/info/ld.info /LFS/tools/lib/ld-linux-x86-64.so.2 /LFS/tools/lib/ld-2.22.so /LFS/tools/sbin/ldconfig Here is the actual link: lfs:/$ ls -larth /tools lrwxrwxrwx 1 root root 10 Dec 25 11:12 /tools -> /LFS/toolslfs:/$ Any ideas? Greg
-- 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
