Skip to content

Cross-compilers versus windows compilers (was optimal win dows R machine)

5 messages · Paul Hewson, Brian Ripley, Ben Bolker +1 more

#
Good morning,

May I ask a naive follow up to this?   Having now been granted limited
rights to use R-windows on a work PC, I wish to set up my home PC to support
compiling packages and so on.   I currently have a working Linux set-up at
home, is there any general advice as to whether it would be better to add in
the cross-compilers there or is it better to persuade my home PC to dual
boot windows and set up the full recommended windows compilation collection.

Thanks for any pointers

Paul
it
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Paul Hewson     tel. (01392) 382773
Data Analyst and Research Officer

Road Safety Team, Environment Directorate, 
Devon County Council,
1st Floor, Lucombe House,
County Hall
Topsham Road
Exeter EX2 4QW

tel (01392) 382773   fax (01392) 382135
email phewson at devon.gov.uk
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 19 Oct 2001, Paul Hewson wrote:

            
If you don't need Compiled HTML help (and my guess is that you don't) then
almost all packages can be cross-compiled.  (Of course, almost all the
public ones are already available in compiled form: many thanks to
Phillipe Grosjean for updates while I am travelling etc.)

Setting up a cross-compiler can be at least as frustrating as setting up a
native one.  I am offering one on the Rtools portal that works for me, but
is a little out-of-date.  There are others out there, but they mostly lack
Fortran.

I would try the cross-compiling route for now, but would warn that as we
move to using R itself for parts of the build procedure, cross-compiling
may become less viable.  Indeed, I managed to break it in R-devel for
a week or so recently.


PS on the original topic about VMware: my comments were principally about
speed running R for Windows under VMware.  It is probable that R is a
particularly bad fit, as its memory manager is already trying to make
Windows memomry management work like the Unix equivalent, and memory
management is crucial to R's performance.

  
    
#
I found it to be a minor hassle to set up the cross-compilers but not
too bad at all.  Following Brian Ripley's directions and hacking around
with scripts I managed to get things going.  If you run into trouble I
could probably help you.

  Ben
On Fri, 19 Oct 2001, Paul Hewson wrote:

            

  
    
1 day later
#
Dear all,

I wonder if anyone can help with this challenge. I have recently downloaded
the R source (R-1.3.0.zip) and its associated buildtools. I have read the
INSTALL and other related docs. I have modified Makefile (turned of building
help) and set the BUILD=CYGWIN in MkRules (I believe the documentation
indicated that these were the variety bundled in the tools.zip file)

However, when I run make, this is what I get

F:\R-1.3.0\src\gnuwin32>make
mkdir -p ../../bin
make -C ./fixed
make[1]: Entering directory `F:/R-1.3.0/src/gnuwin32/fixed'
sed -e '/^#/d' -e '/Rsockfork/d' -e 's/F77_SUBROUTINE(\(.*\))/  { "\1_",
\1_},/' -e 's/C_FUNCTION(\(.*\))/{ "\1",        \1 },/' ../../appl/ROU
TINES > ../FFTab.h
\1_\",: unexpected EOF while looking for `''
\1_\",: -c: line 2: syntax error
make[1]: *** [../FFTab.h] Error 2
make[1]: Leaving directory `F:/R-1.3.0/src/gnuwin32/fixed'
make: *** [fixfiles] Error 2


I have a windows port of Perl (details below)
    This is perl, version 5.005_03 built for MSWin32-x86


I would be very grateful to any one who could point out what's going wrong,
and what can be done to correct this issue.

Thanks in advance

PS :

The OS is Windows 2000 (Version 5.00.21950.)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
1 day later
#
1) Why not use the current R-1.3.1?

2) You are not getting the right toolset.  Is the Rtools set first in your
path?

3) BUILD=CYGWIN is not really supported: see the comments in
src/gnuwin32/INSTALL.  Check the portal for up-to-date information.
On Sat, 20 Oct 2001, Neil Osborne wrote: