On Sun, 2012-01-29 at 15:58 -0600, Bruce Dubbs wrote:
> Pierre Labastie wrote:
> 
> > I have not tried to add /tools to a LIBRARY_PATH, because I am
> > (maybe wrongly) worried about linking to a libraries which are
> > then removed.
> 
> I think that is a needless worry.  gcc uses LIBRARY_PATH so it can get 
> the linkages, but when running, the LD_LIBRARY_PATH variable and the 
> ld.so.cache is used to find the library for running.
> 
> >>    We could also move xz to be before GRUB.
> > Not tried either, but this should work

My preference would be to move xz to before GRUB.  Ever since the
original work went in to splitting chapter 5 and chapter 6 up, we've
tried to keep things in chapter 6 from linking to anything in /tools if
at all possible.  I realise that in this case, it shouldn't make a
difference, as GRUB isn't actually invoked until chapter 8, at which
point chapter 6's xz is obviously available, but it just doesn't sit
right with me that we're going to be explicitly trying to get it to
build against something in /tools.

Regards,

Matt.



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

Reply via email to