From bates@stat.wisc.edu  Thu Apr 27 23:25:40 2000
From: bates@stat.wisc.edu (Douglas Bates)
Date: 27 Apr 2000 17:25:40 -0500
Subject: [Rd] Cross compiling a package for Windows on Linux
In-Reply-To: Prof Brian Ripley's message of "Thu, 27 Apr 2000 17:00:30 +0100 (BST)"
References: <200004271600.RAA21782@toucan.stats.ox.ac.uk>
Message-ID: <6raeiftc4b.fsf@franz.stat.wisc.edu>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Cross compiling a package for Windows on Linux
Douglas Bates