On 2/15/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 2/15/06, Greg Schafer <[EMAIL PROTECTED]> wrote:
> > Dan Nicholson wrote:
> >
> > > It seems that rather than using the compiled in LIB_PATH that we make
> > > use of in Ch. 5 to repoint the linker to where we want, the default
> > > will be that the paths in /etc/ld.so.conf will be preferred before
> > > these.  This could have a very significant effect on the build.
> >
> > Hrm, I think you're oversimplifying things here.
>
> Agreed.  Only affects DT_NEEDED.

OK, so I don't think this will affect the run of the mill LFS build. 
The only way that ld.so.conf is searched is if ld is the native linker
or --with-sysroot was used.  I haven't quite pegged down how the
native linker is determined, but it's not the one installed in /tools.
 And the native linker only searches /etc/ld.so.conf, not
${prefix}/etc/ld.so.conf.

OTOH, passing --with-sysroot looks like it will use
${sysroot}/etc/ld.so.conf.  Maybe an enterprising cross-builder can
try to take advantage of this.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to