RE-adjusting the Toolchain

Matthew Burgess matthew at linuxfromscratch.org
Tue Nov 1 07:52:34 PST 2005


Paul Lewis wrote:

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

 From 6.12 (about half way down):

"Next, amend the GCC specs file so that it points to the new dynamic 
linker. A perl command accomplishes this:

perl -pi -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2 at g;' \
     -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' \
         `gcc --print-file specs`
"

Regards,

Matt.



More information about the lfs-support mailing list