Building C extensions

casevh at comcast.net casevh at comcast.net
Mon Nov 6 14:34:16 CET 2006


Paolo Pantaleo wrote:
> Well I'm just courious: if I want to buid a C extension, I shoul use
> the same compiler that has been used to build python (right?). Since
> python has been built using Visual C, how can I build an extension if
> I don't have Visual Studio?
>
> PAolo

Use mingw32. It should work fine for most extensions.

For example, see
http://groups.google.com/group/comp.lang.python/msg/8e2260fe4d4b7de9
and the followup messages.

casevh




More information about the Python-list mailing list