[Rcpp-devel] how to pass -fPIC instead of -fpic when building rccp package

Dirk Eddelbuettel edd at debian.org
Fri Jul 12 00:44:54 CEST 2013

On 11 July 2013 at 15:12, Anwar Ludin wrote:
| Hello,
| When building a rcpp package is there a way of forcing -fPIC instead of -fpic during package compilation? I 'm using RStudio as my main IDE and the package is built using

That is an RStudio question, and they have it all documented.

Set it under (IIRC) project options, else use ~/.R/Makevars and have it work
for all R compilation, inside or outside of RStudio.

| R CMD INSTALL --preclean --no-multiarch <package_compilation>
| Thanks!
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the Rcpp-devel mailing list