On Sun, 05 Feb 2012 23:01:30 +0100
Pierre Labastie <pierre.labas...@neuf.fr> wrote:

> If I understand the xxx.la files, they are used by libtool to find
> libraries. I am certainly missing something, but I do not understand
> why changing tools to usr in libstdc++.la would give a better
> result. When gmp is built (ie before gcc in chapter 6), there is no
> libstdc++{.a,.so} in /usr/lib.

Yes there is, we:
ln -sv /tools/lib/libstdc++.so{,.6} /usr/lib
http://www.linuxfromscratch.org/lfs/view/development/chapter06/createfiles.html

We could create a .la file at the same time:
sed 's/tools/usr/' /tools/lib/libstdc++.la > /usr/lib/libstdc++.la

For me, that results in a /usr/lib/libgmpxx.la that contains:
# Libraries that this one depends upon.
dependency_libs=' /usr/lib/libgmp.la /usr/lib/libstdc++.la'

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

Reply via email to