[Rd] building windows packages under wine/linux and cross-compiling.

Hin-Tak Leung hin-tak.leung at cimr.cam.ac.uk
Mon Jul 31 22:34:15 CEST 2006

Had some fun today, and thought it might be a good idea to share
and possibly for inclusion to R/src/gnuwin32/README.packages .

Wine/linux : while R, ActiveState Perl, mingw all works alright under 
wine, the blocking issue is Rtool's cygwin dependency. forking
(as much of make and sh is forking sub-processes)
on posix-on-win32-on-posix currently doesn't work.

Cross-compiling: The instruction in R/src/gnuwin32/README.packages 
essentially works, with one missing detail: "R_EXE=/usr/bin/R" is also 
needed. Thus it should be:

     make R_EXE=/usr/bin/R PKGDIR=/mysources RLIB=/R/win/library \
     make P_EXE=/usr/bin/R KGDIR=/mysources RLIB=/R/win/library \

Hin-Tak Leung

More information about the R-devel mailing list