[lfs-dev] Stripping libraries

Ragnar Thomsen rthomsen6 at gmail.com
Fri Aug 31 00:34:29 PDT 2012


It is stated in LFS that --strip-unneeded should not be used on
libraries, as the static ones will be destroyed.

I found this page:
http://www.technovelty.org/linux/

Which states that --strip-unneeded is safe to use on both shared and
static libraries, while --strip-all is only safe for shared ones.

Being a minimalist, I am tempted to use --strip-unneeded on all
libraries. Has anyone tried to see if this breaks a LFS system?

-Ragnar-



More information about the lfs-dev mailing list