On Sunday, 15 September 2013 at 21:05:18 UTC, Iain Buclaw wrote:
--strip-unneeded could potentially cause lots of undefined reference
errors on static libraries.  Shared libraries don't suffer this
because symbols are put into a special section which strip knows not
to touch.

General rule of them:

binaries: strip <file>
static libraries: strip --strip-debug <file>
shared libraries: strip --strip-unneeded <file>

Ok, thanks.

What may cause twice the difference in the original post then? :)

Reply via email to