r^4 #9: Compacting your Shared Libraries Automagically strip libraries for substantial size reductions goo.gl/BSjxUf #rstats #rcpp

Aug 15, 2017 · 1:54 AM UTC

3
4
17
Or "How to reduce a 200mb shared library to 4mb without really trying". Not picking on rstan; it was just the largest */libs/*.so I had.
4
5
Replying to @eddelbuettel
For the interp package on Fedora 26 (the case I mentioned at useR), *.so from 27M to 491K with src/Makevars. Thanks very much!
1
Replying to @eddelbuettel
This should really be the default, with debug symbols be opt-in (like e.g. autotools would do)