From armgong at yahoo.com  Wed Jan  6 10:21:06 2010
From: armgong at yahoo.com (Gong Yu)
Date: Wed, 6 Jan 2010 01:21:06 -0800 (PST)
Subject: [Rd] I have finished compiling of R 64 bit on 64 bit Windows
	use MINGW64
In-Reply-To: <4B4451F8.5000803@statistik.tu-dortmund.de>
References: <801699.74671.qm@web45906.mail.sp1.yahoo.com>
	<4B433689.2010600@statistik.tu-dortmund.de>
	<alpine.LFD.2.00.1001051306290.32750@gannet.stats.ox.ac.uk>
	<612963.47100.qm@web45909.mail.sp1.yahoo.com>
	<4B4451B3.4090107@statistik.tu-dortmund.de>
	<4B4451F8.5000803@statistik.tu-dortmund.de>
Message-ID: <880471.49761.qm@web45905.mail.sp1.yahoo.com>

When I try to upload to your sever,filezilla report error ,so I upload to other place
the source code and bin can download at:
http://download.cos.name/incoming/r64-src-and-bin-for-win64.zip

(attention: the source code may be contain error,you are welcome report bugs to me)

the tool-chain can download at:
http://download.cos.name/incoming/Rtools64.zip

(attention: the gcc included in the tool-chain is a native  gcc 4.5.0 for win64(20091231),
I download from  http://www.equation.com/servlet/equation.cmd?fa=fortran  
and it's free and GPLed,so we can use it )

the change file is 
1.  3 manifest files in gnuwin32\front-end\*.manifest,which is have wrong arch
2.  gnuwin32\fix\h\config64.h
3.  graphappmain.c,rterm.c,rgui.c (main change)
4.  makefile and mkrules in gunwin32,
5.  rscript.c in src\unix
6.  every c file in extra\xz\*.c that have a main function (just comment out or delete the main function)
7.  change the  R\share\make\var.mk,(comment out the tcltk)
8.  may be more files, but I can't recall now,so if there have an error then you can tell me,i will try figure it out

----- Original Message ----
From: Uwe Ligges <ligges at statistik.tu-dortmund.de>
To: Gong Yu <armgong at yahoo.com>
Cc: Prof Brian Ripley <ripley at stats.ox.ac.uk>; R-windows at R-project.org
Sent: Wed, January 6, 2010 5:03:52 PM
Subject: Re: [Rd] I have finished compiling of R 64 bit on 64 bit Windows use MINGW64



On 06.01.2010 10:02, Uwe Ligges wrote:
>
>
> On 06.01.2010 01:54, Gong Yu wrote:
>> I will follow the GPL rule, upload the source code, but i can't make
>> diff, because in my office's pc there is no svn and gnutools.
>
> Thanks. If you upload the sources and indicate which files you have
> changed, we can easily diff ourselves.


I see you tried to upload, but the file came in empty.

Best wishes,
uwe



> Best wishes,
> Uwe
>
>
>> ----- Original Message ----
>> From: Prof Brian Ripley<ripley at stats.ox.ac.uk>
>> To: Uwe Ligges<ligges at statistik.tu-dortmund.de>
>> Cc: Gong Yu<armgong at yahoo.com>; R-windows at R-project.org
>> Sent: Tue, January 5, 2010 9:20:59 PM
>> Subject: Re: [Rd] I have finished compiling of R 64 bit on 64 bit
>> Windows use MINGW64
>>
>> On Tue, 5 Jan 2010, Uwe Ligges wrote:
>>
>>> Dear Yu,
>>>
>>> thank you very much for the informations and the files.
>>> I just allocated some matrices and it seems to works (and allocated
>>> up to 4GB for me - stopped due to an R internal limit, obviously).
>>>
>>> Anyway, it would be really helpful to get the sources - the binary
>>> does ot really help for making the 64-bit version (including daily
>>> patched and devel versions and all packages) available to the public.
>>> This would also allow to run the regression tests and apply some
>>> other checks.
>>
>> Can you use a portable archive format rather than .rar? I'll need to
>> install some means of unpacking that (7zip?). R itself can produce a
>> .tar.gz (or even .tar.zx) file.
>>
>> Please note (like my comment below about that 'mingw64' distribution)
>> that you are not allowed by R's licence to distribute such a binary
>> build without the modified sources you used. So we really do need the
>> sources to keep this above board (and sending it to us is
>> 'distribution').
>>
>> Brian Ripley
>>
>>> You can upload with anonymous access to
>>> ftp://win-builder.r-project.org/R-devel/
>>>
>>> Thank you very much!
>>>
>>> Best wishes,
>>> Uwe
>>>
>>>
>>>
>>> On 05.01.2010 02:46, Gong Yu wrote:
>>>> Dear Uwe Ligges
>>>>
>>>> 1. I use ftp://ftp.equation.com/gcc/gcc-4.5-20091231-64.exe + msys
>>>> +perl,
>>
>> Aha, that is not the distribution from the mingw64 project. Is it a
>> native Win64 toolchain? Where are the sources (which GPL requires to
>> be made available in a non-proprietary format in parallel)?
>>
>>>> and the
>>>> source code i used is R 2.11.0 devel(i not sure the exact svn
>>>> version,but it is last month)
>>>>
>>>> 2. I not familiar with diff ,so I afraid I can't give you a
>>>> patch,but alternative I can upload the source my changed or the
>>>> whole source code.
>>>>
>>>> 3. mainly changed 3 manifest files in gnuwin32\front-end ,
>>>> config64.h graphappmain.c,rterm.c,rgui.c, makefile in gunwin32,
>>>> rscript.c in src\unix
>>>>
>>>> 4. also changed some c files in xz dir,because mingw64
>>>>
>>>> if you can provide a space I can first upload the R 64 bin file ,the
>>>> tool-chain i used, then the whole R source (because there still some
>>>> problems in the sources ,so it maybe a few day later)
>>>>
>>>> Best wishes,
>>>>
>>>> Gong Yu
>>>>
>>>>
>>>> --- On Mon, 1/4/10, Uwe Ligges<ligges at statistik.tu-dortmund.de> wrote:
>>>>
>>>>> From: Uwe Ligges<ligges at statistik.tu-dortmund.de>
>>>>> Subject: Re: [Rd] I have finished compiling of R 64 bit on 64 bit
>>>>> Windows use MINGW64
>>>>> To: "Arm Gong"<armgong at yahoo.com>
>>>>> Cc: r-devel at r-project.org, R-windows at R-project.org
>>>>> Date: Monday, January 4, 2010, 10:11 AM
>>>>> Dear Arm Gong,
>>>>>
>>>>> we are certianly very interested. How many files (and
>>>>> which) did you patch, which version of the different MinGW
>>>>> tools did you use?
>>>>>
>>>>> It would be nice if we would be able to build 64-bit
>>>>> versions of CRAN.
>>>>>
>>>>> Can you send the information (including required patches)
>>>>> in a mail message (to R-windows at R-project.org)
>>>>> or can you upload to a side yourself? Otherwise I can
>>>>> arrange an upload and make it available later on.
>>>>>
>>>>> Best wishes,
>>>>> Uwe Ligges
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Arm Gong wrote:
>>>>>> hi ,everyone
>>>>>> I have finished compiling of R 64 bit on 64 bit
>>>>> Windows system by using MINGW64, include the standard and
>>>>> recommended packages.tested it on Windows 2008 server R2
>>>>> X64.it run very well.I wander anyone interested in it ,and
>>>>> anyone who want to continue testing it with me?
>>>>> and who can provide a space let me upload the R files
>>>>>> Best wishes!
>>>>> 2010/1/4
>>>>>
>>>>>
>>>>> Gong Yu
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> [[alternative HTML version deleted]]
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>>
>>>>>> ______________________________________________
>>>>>> 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
>>
>>
>>
>>
>>
>



[Rd] I have finished compiling of R 64 bit on 64 bit Windows use MINGW64
Gong Yu