[Rd] mingw-cross with R 2.4.x Re: wine and build difference between R.2.4.0 and R 2.4.1 windows binaries?

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Mon 15 Jan 2007 - 18:49:35 GMT

Hin-Tak Leung wrote:
> 2.4.0 works and 2.4.1/2.5dev crashes, all on the same machine with
> the same version of wine in en_GB.UTF-8 locale.
> export |grep 'LANG'
> declare -x LANG="en_GB.UTF-8"
> I found all 3 versions of Rgui.exe hangs (and not crashes) if I run
> wine under LANG=C .
> I think it would be most interesting to try building the older 2.4.0
> with newer mingw - that would distinguish whether it is code change
> in R or change in mingw. (I'll give this a try in the next few days).

I have managed to build both R 2.4.0 and 2.4.1 with the newer mingw 3.11+ (both crashes under wine and works okay under XP) and can now confirm that the wine crash seems to be due to mingw change.

Some comments, notes below, in case it may be useful to others (and also a good reminder for myself as well):

My /usr/bin/R is 32-bit 2.4.1 and my /usr/bin/R64 is 64-bit 2.4.0 - so I can cross-build two different versions of R. (cross-build R requires the *exact same* version of native R).




It seems that the SED change is in R trunk (with "s/^.* ..."). and the NM export is probably not necessary and due to my mistake somewhere on dependency generation, as Mkrules does make NM=$(BINPREF)nm .

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Jan 16 05:51:33 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 16 Jan 2007 - 11:31:09 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.