RE-adjusting the Toolchain

Paul Lewis paul.lewis at st-annes.oxford.ac.uk
Tue Nov 1 07:40:00 PST 2005


Hi,

I'm currently in Chapter 6, section 6.12, of the LFS book version 6.1. It's
the section where we re-adjust the toolchain. The book says to adjust the
gcc specs file to remove the reference to /tools/lib/ld-linux.so.2, and
replace it with /{,usr/}lib/ld-linux.so.2. Now, I understand this to mean
that we are specifying two paths - /lib/ld-linux.so.2, and
/usr/lib/ld-linux.so.2. However, how do I enter this into the specs file? If
I enter it exactly as shown in the book, using the curly brackets - {,usr/},
then when you do the sanity check with dummy.c, and then readelf on a.out
and grep the output for ': /lib', grep does not find that path, because it
doesn't exist as such - it exists as /{,usr/} etc.

I was just wondering if anyone could shed any light on this for me - have I
done it right by specifying the path as /{.usr/}lib in the specs file, or do
I need to enter the path twice, or is there some other method that I've
overlooked?

Thanks in advance for your help,

Paul

---
Paul Lewis (paul.lewis at st-annes.ox.ac.uk)
JCR Computing Rep
St Anne's College
http://www.stannesjcr.org 






More information about the lfs-support mailing list