[Rcpp-devel] Static linking of Rcpp

Romain Francois romain.francois at dbmail.com
Thu Apr 8 18:06:26 CEST 2010

Le 08/04/10 17:53, Dan Kulp a écrit :
> It seems on MacOS the default flags in the
> RInside/examples/standard/Makefile have the "-framework R" flag and
> won't compile without it.  Why do I need this if I am already
> providing libRcpp.a and libRInside.a ?

You need R to be installed. R is not just a c library, but ships quite a 
lot of R code that it needs.

> I'd like to be able to build a program that I can distribute to a
> computer that does not have R installed... Or is this not possible?
> Thanks,
> Dan

One way or another you need R. Please ask the r-sig-mac mailing list for 
clues about how to build R not as a framework.


Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
|- http://bit.ly/9aKDM9 : embed images in Rd documents
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7

More information about the Rcpp-devel mailing list