Building a statically-linked extension?
On Thu, 10 Nov 2011, Tyler Pirtle wrote:
Hi there, I'm writing an R extension that has a C component that relies on two third party libraries that I'm bundling with the extension. I'd like to statically link my resulting extension so that I can rely on the bundled versions of the libraries I'm distributing, so there's two questions - 1, does R allow statically linked C extensions to be used at runtime?
Yes
2, are there any standard ways of having R build my extension statically?
Yes. If you want to know more, follow the posting guide: this is not an R-help topic, the missing 'at a minimum' information is vital ....
Thanks, Tyler [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595