[Python-Dev] Patch review [ 981773 ] crach link c++ extension by mingw

Michiel Jan Laurens de Hoon mdehoon at ims.u-tokyo.ac.jp
Tue Feb 8 10:08:52 CET 2005


Patch review [ 981773 ] crach link c++ extension by mingw

When building a C++ extension for Windows using MinGW, the linking would fail 
due to an incorrect link command. The patch contains a solution for this problem.

I could reproduce this bug with Python 2.3.5c1, but in Python 2.4 it seems to 
have been fixed. Using this Python version:

'2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]'

a C++ extension compiled and linked correctly with MinGW. So I think this patch
is no longer needed (except if we want to back-port it to 2.3.5, which I doubt).

--Michiel.


-- 
Michiel de Hoon, Assistant Professor
University of Tokyo, Institute of Medical Science
Human Genome Center
4-6-1 Shirokane-dai, Minato-ku
Tokyo 108-8639
Japan
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon



More information about the Python-Dev mailing list