Re: stripping binaries




On 15 Apr 1999, Raja R Harinath wrote:

>> 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' ?
>
>strip --strip-unneeded is probably OK on shared libs, since the public
>symbols will be referenced in the lookup table.  However, static
>libraries will have problems.  Someone with more knowledge of how
>strip/linkers work will give you a better answer.

As for static libs, I run 'strip --strip-debug', instead. 
Thank you for the answer.

junichi



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