Problem with msvcrt60 vs. msvcr71 vs. strdup/free

"Martin v. Löwis" martin at v.loewis.de
Thu Dec 23 13:31:36 EST 2004


Scott David Daniels wrote:
> I encourage anyone who gets further into solving the "How do I use
> MinGW to build Python2.4 (and later) standard-distribution compatible
> modules (.pyd s)?" question to share any clues they have.  The MS
> free compiler is useful to many, but not all of us.

I think the simplest answer is "It works out of the box". Just do

python setup.py build --compiler=mingw32

If it fails, report what the failure is (the first failure should
be lack of libpython24.a, for which you can find build instructions
in Google).

Regards,
Martin



More information about the Python-list mailing list