[lfs-dev] Stripping libraries

William Harrington berzerkula at cox.net
Fri Aug 31 14:08:33 PDT 2012


On Aug 31, 2012, at 02:34 AM, Ragnar Thomsen wrote:

> 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?
>

http://www.technovelty.org/linux/strip.html

Not all strip binaries do the same thing, though.

Sincerely,

William Harrington



More information about the lfs-dev mailing list