> From: [email protected] (Niels Möller)
> Cc: [email protected]
> Date: Sun, 02 Oct 2016 12:01:35 +0200
> 
> > Shared libraries need --strip-unneded, static libraries need
> > --strip-debug followed by ranlib.
> 
> Makes sense. Are you saying that for static libraries, one has to redo
> ranlib after strip?

That's what libtool does, but I don't really know if that's needed.
maybe it's needed with non-GNU 'strip'?

> >> and I'm not sure which is implied by install -s.
> >
> > It's a synonym for --strip-all, so it's only pertinent to executable
> > programs.
> 
> And you're also saying that a "default strip", invoking strip without
> any options, is the same as strip --strip-all?

Sounds like that, although the documentation doesn't seem to say that
explicitly.  FWIW, I always use just "strip", without any options,
when I need to strip an executable.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to