Re: [R-pkg-devel] Portable method of stripping debug symbols

2018-01-04 Thread Thibault Vatter
No, we're preparing a new release which we'll submit in the next few days. On Thu, Jan 4, 2018 at 7:06 PM, Dirk Eddelbuettel wrote: > > On 4 January 2018 at 00:27, Thibault Vatter wrote: > | We faced a problem when we tried Dirk's solution for our package > | rvinecopulib: there is a strip binar

Re: [R-pkg-devel] Portable method of stripping debug symbols

2018-01-04 Thread Dirk Eddelbuettel
On 4 January 2018 at 00:27, Thibault Vatter wrote: | We faced a problem when we tried Dirk's solution for our package | rvinecopulib: there is a strip binary on OS X but it doesn't work as the | linux one. | | As such, to avoid calling OS X's strip which doesn't work, we use: | | strippedLib: $(

Re: [R-pkg-devel] Portable method of stripping debug symbols

2018-01-03 Thread Thibault Vatter
Hi, We faced a problem when we tried Dirk's solution for our package rvinecopulib: there is a strip binary on OS X but it doesn't work as the linux one. As such, to avoid calling OS X's strip which doesn't work, we use: strippedLib: $(SHLIB) if test -e "/usr/bin/strip" & test -e "/bin/uname" & [

Re: [R-pkg-devel] Portable method of stripping debug symbols

2018-01-03 Thread Dirk Eddelbuettel
Christopher, On 3 January 2018 at 21:59, Christopher Lalansingh wrote: | I'm running into troubles with the total size of my package and I've found that when using Rcpp, one can reduce the size of shared objects by stripping out debug symbols by including `-Wl,-S' in PKG_LIBS. Unfortunately thi

[R-pkg-devel] Portable method of stripping debug symbols

2018-01-03 Thread Christopher Lalansingh
Hello all, I'm running into troubles with the total size of my package and I've found that when using Rcpp, one can reduce the size of shared objects by stripping out debug symbols by including `-Wl,-S' in PKG_LIBS. Unfortunately this is not portable with Solaris, and using ifeq in my Makevars