From ripley@stats.ox.ac.uk  Fri Apr 28 07:18:49 2000
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Fri, 28 Apr 2000 07:18:49 +0100 (BST)
Subject: [Rd] Cross compiling a package for Windows on Linux
In-Reply-To: <6raeiftc4b.fsf@franz.stat.wisc.edu>
Message-ID: <Pine.GSO.4.05.10004280713150.26961-100000@auk.stats>

On 27 Apr 2000, Douglas Bates wrote:

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

Yes, you need makeinfo 4.0 (as you do for R on Unix), and without those
flags you will get the wrong answers.  Actually, this step should not be
necessary: it happens because cvs updates files with the update date, not
the creation date. The same thing happens with configure and configure.in
not infrequently.  So `touch rw-faq fixed/r/rw-FAQ.html' is all that is
needed.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Prof Brian D Ripley