On Mon, Mar 24, 2008 at 12:18 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: > For some reason, my MinGW/MSYS installation seems to do this > automatically. And, yes, I am using the standard MSVC-compiled > Python. I do specify the --compiler=mingw32 flag when I compile > the Python extension via setup.py.
Hi Bill, Have you checked that the resulting pyd is linked with msvcrt71.dll. If not you can use dependency walker (http://www.dependencywalker.com/). As far as I know, mingw defaults to link with msvcrt.dll and to have it link with msvcrt71 we have to change this file -> mingw\lib\gcc\mingw32\3.4.5\specs + creating a liboldnames.a that link with msvcrt71.dll too. I used the instruction from http://pygame.seul.org/wiki/PreparingMinGW Compiling python extensions with vc7 (python 2.4) http://www.vrplumber.com/programming/mstoolkit/ <- heavy download though, windows sdk + .net sdk = 1.5G _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
