From hin-tak.leung at cimr.cam.ac.uk  Tue Jan 16 11:13:45 2007
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Tue, 16 Jan 2007 10:13:45 +0000
Subject: [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?
In-Reply-To: <45ABCCBF.3080204@cimr.cam.ac.uk>
References: <45A53E92.6070104@cimr.cam.ac.uk>
	<45A545B1.6070508@stats.uwo.ca>	<45A6250C.3020802@cimr.cam.ac.uk>
	<45A629E0.8090100@stats.uwo.ca>	<45A79EB8.8010606@cimr.cam.ac.uk>	<Pine.LNX.4.64.0701121446340.11132@gannet.stats.ox.ac.uk>	<45A7BF93.1090109@cimr.cam.ac.uk>
	<45A7CE6F.2050103@stats.uwo.ca> <45A7D2C3.1050204@cimr.cam.ac.uk>
	<45ABCCBF.3080204@cimr.cam.ac.uk>
Message-ID: <45ACA559.5010909@cimr.cam.ac.uk>

Hin-Tak Leung wrote:
> Hin-Tak Leung wrote:
> <snipped>
 > - I needed to copy R/src/intl and R/src/extra/pcre from 2.4.1 to 2.4.0
 > to get the older R 2.4.0 to build against newer mingw.

Since I had to copy a few files from 2.4.1 to 2.4.0 for the older 
version of build, I thought I need to be 100% sure that the wine crash 
is due to mingw rather than those few files.

So previously, both 2.4.0/2.4.1 Rgui binaries from this set crash wine:

> binutils-2.17.50-20060824-1-src.tar.gz
> gcc-ada-3.4.5-20060117-1-src.tar.gz
> gcc-core-3.4.5-20060117-1-src.tar.gz
> gcc-g++-3.4.5-20060117-1-src.tar.gz
> gcc-g77-3.4.5-20060117-1-src.tar.gz
> gcc-java-3.4.5-20060117-1-src.tar.gz
> gcc-objc-3.4.5-20060117-1-src.tar.gz
> mingw-runtime-3.11-20061202-1-src.tar.gz
> w32api-3.8-src.tar.gz

I tried some other combos of mingw-cross.

Both 2.4.0/2.4.1 Rgui binaries from this set works OK-ish with wine
(by that I mean I can so Sys.info() and sessionInfo() - obviously 
somebody requires 3.11 for 2.4.1 for a reason):

gcc-core-3.4.5-20060117-1-src.tar.gz
gcc-ada-3.4.5-20060117-1-src.tar.gz
gcc-g++-3.4.5-20060117-1-src.tar.gz
gcc-g77-3.4.5-20060117-1-src.tar.gz
gcc-java-3.4.5-20060117-1-src.tar.gz
gcc-objc-3.4.5-20060117-1-src.tar.gz
binutils-2.17.50-20060716-1-src.tar.gz
mingw-runtime-3.10-20060909-1-src.tar.gz
w32api-3.7-src.tar.gz

This set produces 2.4.0/2.4.1 Rgui binaries which crash wine:

gcc-core-3.4.5-20060117-1-src.tar.gz
  gcc-ada-3.4.5-20060117-1-src.tar.gz
  gcc-g++-3.4.5-20060117-1-src.tar.gz
  gcc-g77-3.4.5-20060117-1-src.tar.gz
  gcc-java-3.4.5-20060117-1-src.tar.gz
  gcc-objc-3.4.5-20060117-1-src.tar.gz
  binutils-2.17.50-20060716-1-src.tar.gz
  mingw-runtime-3.11-20061202-1-src.tar.gz
  w32api-3.7-src.tar.gz

As can be seen, the difference is only 
mingw-runtime-3.10-20060909-1-src.tar.gz versus 
mingw-runtime-3.11-20061202-1-src.tar.gz .

The issue is filed as http://bugs.winehq.org/show_bug.cgi?id=7181

HTL



[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?
Hin-Tak Leung