Please Recommend a C compiler for use with Python.
Andrew MacIntyre
andymac at bullseye.apana.org.au
Tue Jan 28 06:36:23 EST 2003
[posted & mailed]
On Mon, 27 Jan 2003 zenguyuno at yahoo.com wrote:
> "Martin v. Löwis" wrote:
> >
> > Skip Montanaro wrote:
> > > z> I use a generic PC running Win 98. What's a good, Easy-to-use and
> > > z> install, ANSI C compiler? I might mention that I mainly want to
> > > z> extend Python by writing routines in C.
> > >
> > > You might try Cygwin.
> >
> > I'm not so sure that this is a good choice when it comes to extending
> > Python. If the standard Python distribution is to be extended, you
> > really should use MSVC 6 (if you can still get copies of that).
>
> Cygwin requires knowing Unix, right? I don't know much Unix.
> I do want to extend the standard Python distribution for Windows.
I've successfully used MingW32 (http://www.mingw.org/ IIRC) to build
Python extensions (I used v1.1, based on gcc 2.95.3; v2.0 based on gcc 3.2
is current).
It can take some fiddling to get a usable Python import library, but
google will find docco to help with that.
Regards,
Andrew.
--
andymac at bullseye.apana.org.au
http://www.andymac.org/
More information about the Python-list
mailing list