[Rcpp-devel] Cross-compiling packages for Windows from Linux?

Dirk Eddelbuettel edd at debian.org
Tue Mar 29 04:05:58 CEST 2011


On 28 March 2011 at 18:10, Tim Triche, Jr. wrote:
| Does anyone have any experience building Windows packages on Linux?  This
| seems like a tall order, but I have cross-compiled working binaries in the past
| with some effort, and if I could compile Windows binaries of Rcpp-linked
| packages from Linux, I'd probably bite the bullet and do it.  Otherwise I am
| inclined to let would-be users compile it themselves, at least to start.

Have a look at http://win-builder.r-project.org.  It does not produce the
binaries for Windows on CRAN, but it is a similarly organised 'test
environment'.  For as long as you do not depend on external libraries (as
RQuantLib, RPostgreSQL, RProtoBuf, ... do) you are golden. 32 and 64 bit test
builds.

Dirk

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


More information about the Rcpp-devel mailing list