On 12/09/2016 14:12, Shomper, Keith A wrote:
Working through the LFS Book 7.9 and successfully completed up to section 6,8 (man pages). Then took a break. Upon returning, I mistakenly thought I had stopped after 6.9 (glibc), so I proceeded to 6.10 (adjusting the tool chain).

It became clear that something was wrong in section 6.10 when I tried to run the commands:
/echo 'int main(){}' > dummy.c
cc dummy.c -v -Wl,--verbose &> dummy.log
readelf -l a.out | grep ': /lib'
/
and no /a.out/ file was produced.

Retracing my command history, I saw that I had skipped section 6.9 (glibc).

My problem is that I had already completed the steps to move /ld/ to /ld-old/, etc. and modify the GCC specs file.

The renaming of the files can easily be undone; however, my question is: *how do I undo the modification of the GCC specs file, because section 6.9 does not complete with the specs file in its section 6.10 configuration.*
Hi Keith,

I think you can just remove the created specs file; something like:
---
rm `dirname $(gcc --print-libgcc-file-name)`/specs
---
Then GCC will use the compiled in specs, as it should for 6.9

Regards
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