[Rd] Cross compiling a package for Windows on Linux

Douglas Bates bates@stat.wisc.edu
27 Apr 2000 17:25:40 -0500


Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:

> > From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
> > Date: 27 Apr 2000 13:08:07 +0200
> > 
> > Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:
> > 
> > > Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
> > > 
> > > > As you noted, I am in the process of changing the Makefiles and
> > > > instructions, mainly because the Cygwin release has changed and (aargh!)
> > > > not longer has a fully functional make, and the header set has also
> > > > changed.  It's a rash assumption that the R-devel or R-release-patched
> > > > will cross-compile as we only test that occasionally, including just 
> before
> > > > release.
> > > 
> > > It did last night, though (R-1-0-patches, that is).
> > 
> > ..as does R-devel as of this moment.
> 
> Indeed it does.  To make life a bit easier I have put up a complete
> current cross-tools set with the latest headers at
> 
> http://www.stats.ox.ac.uk/pub/bdr/RWin/i386cross.tar.bz2  (ca 5Mb)
> 
> Just unpack it somewhere, put the bin directory in your path and
> follow the instructions in INSTALL.
> 
> The caveat remains, though: this is not tested frequently.

That worked nicely, thanks.

I did have to make two additional modifications to the Makefile to
drop the --number-pages and the --html flags in calls to makeinfo.  My
version of makeinfo did not accept those flags.

I will have to check at home this evening if the compilation of my
library was successful.  I am optimistic.

This is a very useful facility.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._