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.
>

-- 
Dr. rer. nat. Uwe Schmitt
Leitung F/E Mathematik

mineway GmbH
Gebäude 4
Im Helmerswald 2
66121 Saarbrücken

Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376

uschm...@mineway.de
www.mineway.de

Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339






------------------------------------------------------------------------------
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

Reply via email to