Re: stripping binaries




On 15 Apr 1999, Raja R Harinath wrote:

>Don't use --strip-unneeded on libraries.  (Simplistic explanation
>alert) Libraries don't have entry points, so most of it is "unneeded"
>as far as strip is concerned.  Use only
>
>        strip -g
>
>or
>
>        strip --strip-debug
>
>on libraries.  That should be enough to make them small.

Could you give some more explanation ? I always have run 'strip
--strip-unneeded' on shared libs and haven't experienced any problems so
far, at least, as far as compiling/running is concerned. What exactly can
cause problems other than for debugging , if I run 'strip
--strip-unneeded' ?


 junichi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]