Re: [Rd] R260 cross-compilation

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu, 11 Oct 2007 11:35:58 +0100 (BST)

I don't know what you mean about 'the Makefile': the R sources contain all the makefiles needed.

Things are different for 2.6.0 but the procedure is (still) described in the R-admin manual (section 3.1.9 in the version I am looking at), and it has been tested. Looks like you have the settings in MkRules incorrectly configured, and probably have not built your own cross-compiler for the current gcc-4.2.x.

On Thu, 11 Oct 2007, ernesto wrote:

> Hi,
>
> I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
> the Makefile for 251 and simply replaced the R version by 260. However
> I'm getting an error about mingw.
>
> ernesto_at_gandalf:~/ipimar/devel/R/ccompile260$ make R
> export
> PATH=/home/ernesto/ipimar/devel/R/ccompile260/cross-tools/bin:/home/ernesto/ipimar/devel/R/ccompile260/cross-tools/i586-mingw32/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games;
> \
> cd
> /home/ernesto/ipimar/devel/R/ccompile260/WinR/R-2.6.0/src/gnuwin32/; \
> make; \
> cd /home/ernesto/ipimar/devel/R/ccompile260/WinR; \
> tar zcf Win-R-2.6.0.tgz R-2.6.0
> make[1]: Entering directory
> `/home/ernesto/ipimar/devel/R/ccompile260/WinR/R-2.6.0/src/gnuwin32'
> make --no-print-directory -C front-ends Rpwd
> make -C ../../include -f Makefile.win version
> make Rpwd.exe
> i586-mingw32-gcc-sjlj -std=gnu99 -I../../include -O3 -Wall -pedantic
> -c rpwd.c -o rpwd.o
> make[4]: i586-mingw32-gcc-sjlj: Command not found
> make[4]: *** [rpwd.o] Error 127
> make[3]: *** [Rpwd] Error 2
> make[2]: *** [front-ends/Rpwd.exe] Error 2
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/ernesto/ipimar/devel/R/ccompile260/WinR/R-2.6.0/src/gnuwin32'
>
> How can I fix this ? Is there a new Makefile for R260 ?
>
> Thanks
>
> EJ
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 11 Oct 2007 - 10:39:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 25 Oct 2007 - 11:37:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.