extending python with a C-written dll
Scott David Daniels
Scott.Daniels at Acm.Org
Mon Dec 20 13:20:19 EST 2004
Jean-Baptiste PERIN wrote:
> Hi,
>
> I'm trying to make a windows dll reachable from a python script .. and
> I'm encountering troubles during link step ..
>
> I use "lcc" to compile and link
> I use python 2.3 under win XP
Note that MinGW32 is a tested path for building (free) C extensions. I
don't know if anyone has a tested way of using lcc.
With MinGW32, your build step will be the delightfully easy:
python setup.py build --compiler=mingw32
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-list
mailing list