From: nisse@lysator.liu.se (Niels Möller) Cc: nettle-bugs@lists.lysator.liu.se 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.