On Sat, Dec 24, 2011 at 12:49:55PM +0000, Andrew Benton wrote: > > For what it's worth, I've managed to reduce the number of static libs > to 8, all from gcc, binutils or glibc: > > andy@eccles:~$ ls /usr/lib/*.a > /usr/lib/libc_nonshared.a /usr/lib/libmcheck.a > /usr/lib/libg.a /usr/lib/libpthread_nonshared.a > /usr/lib/libiberty.a /usr/lib/librpcsvc.a > /usr/lib/libieee.a /usr/lib/libsupc++.a > > It may be possible to get rid of some of these, but fiddling with them > got time consuming so I gave up. > Yeah, very time-consuming (move to a new name, build an LFS system, see what breaks.
However, *one* of the above (libiberty.a) is not needed although the book goes out of its way to install it. In reality, every package that needs this should ship its own version, but I no longer have the link to a (semi-}authoritative statement. I expect political fallout if I ever try to remove it, and anyway I've still got 30 static libs (on the old LFS-6.8 box I'm on at the moment) so static toolchain libs haven't been a priority. Will try removing the others for my next build [ nothing fancy, just sorting out my own revised desktop build sequence ]. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
