On Thu, 20 Mar 2008, Bill Janssen wrote:

Why not use the MSVC compiler ?
There even is a free (as in $) one.

I'm not religious about it; I just don't know how to download it,
install it, or use it from the command-line.  I had to install MinGW
anyway to use configure & make with the UpLib sources, so it's the
hammer already in my hand :-).

Yes, but if you use a Python that's built with MSVC, it's going to emit
compile flags for MSVC.

Apparently not.  Passing --ccompiler=mingw32 to setup.py seems to do
the trick.  Another distutils 'gotcha'.

Hehe :)

Unless JCC knows to use that flag when it invokes distutils/setuptools, this trick is only going to work when building JCC itself. I guess, I could add yet another command line arg to JCC to pass this through, though.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to