On 12/16/2009 12:19 PM, Peter Dunning wrote:
> Hi,
>
> I've been building an LFS system and I noticed that in 5.9 we recompile
> the linker to look in /usr/lib and /lib for libraries. Does this mean
> the following in 5.10 should produce nothing? (as the executable should
> request the interpreter from /lib or /usr/lib)
>
> echo 'main(){}'> dummy.c
> cc dummy.c
> readelf -l a.out | grep ': /tools'
>
> Peter
>
No, since the recompiled linker for /lib and /usr/lib is copied to
/tools/bin/ld-new. /tools/bin/ld is still the one that looks in /tools,
which is why in the "Readjusting the Toolchain" step /tools/bin/ld-new
is renamed ld.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page