What I can tell is that is appeared to be working (although distutils is/was broken: http://bugs.python.org/msg67039).
I read that optimally CPython would have to be also compiled with Mingw (although I am not certain it is possible), but I tried and it went OK. On the other hand compiling R with MSVC is (was ?) not possible. Also, I am reading that Mingw - MSVC are playing along better with recent versions http://developer.berlios.de/devlog/akruis/2012/06/10/msvcr90dll-and-mingw/ (the post is hinting has cross-compiling - if this could be worked out for rpy2 it would mean that I could follow-up more closely that it builds for MSWindows). Best regards, Laurent On 2012-06-21 09:54, Uwe Schmitt wrote: > > Hi, > > how does mingw build extensions modules play with an official cpython > interpreter ? > If you build such a module with a ms compiler which has a different > version > as the one python was build with, your module will crash. > > I suppose the problem comes from different runtime dlls as > msvcrXX.dll, but > how does mingw handle this ? > > Regards, Uwe. > > Am 20.06.2012 18:17, schrieb Laurent Gautier: >> On 2012-06-20 18:06, Christoph Gohlke wrote: >>> Hi, >>> >>> FWIW: I have built rpy2 for 32 and 64 bit Python several times in the >>> past with Visual Studio and Intel ICL compilers. Compiling and linking >>> was not a problem. However, none of those builds were stable and would >>> crash on import. The problem was that R and Python use different, >>> incompatible C runtime libraries; IIRC R tried to release memory >>> allocated by Python/rpy2 or vice versa. The same problem also occurred >>> with the R/tests/Embedding example so it does not seem to be rpy2 >>> specific. >> To my knowledge (if not outdated, I did not the the Windows-specific >> issues for some time), the only recommended way to compile R on >> MSWindows is with mingw. >> >> When I was supporting/building rpy2 I was using mingw as well, and the >> builds seemed functional. >> > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list