Note
This is a work-in-progress.
This is an attempt at creating standalone R executables by embedding and evaluating R code through C via a static R build.
Currently, by using the below script, we receive libR.a
and associated BLAS/LAPACK internal shared libraries.
libR.A
is ~6MiB, but is halved to ~3.3MiB when stripped. However, it's not completely static at this point, as
some dependencies like PCRE are still dynamically linked (which, might be due to needing --enable-static=pcre
or something?)