[pylucene-dev] Re: building JCC on Windows with MinGW

Bill Janssen janssen at parc.com
Thu Mar 20 07:12:09 PDT 2008


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

Bill


More information about the pylucene-dev mailing list