Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16105 > unrolled thread

Re: Choosing a Windows C compiler for use with Cython and 32-bit Python 2.7

Started byChristian Heimes <lists@cheimes.de>
First post2011-11-23 13:27 +0100
Last post2011-11-23 13:27 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Choosing a Windows C compiler for use with Cython and 32-bit Python 2.7 Christian Heimes <lists@cheimes.de> - 2011-11-23 13:27 +0100

#16105 — Re: Choosing a Windows C compiler for use with Cython and 32-bit Python 2.7

FromChristian Heimes <lists@cheimes.de>
Date2011-11-23 13:27 +0100
SubjectRe: Choosing a Windows C compiler for use with Cython and 32-bit Python 2.7
Message-ID<mailman.2969.1322051290.27778.python-list@python.org>
Am 23.11.2011 13:11, schrieb python@bdurham.com:
> Looking for some tips on getting started with Cython development
> under Windows. I am using Python 2.7.2.
> 
> After reading the Cython documentation [1] it appears that one
> has a choice of using either the MinGW or MS Visual C compiler.
> 
> 1. Are there any issues associated with using the MinGW compiler
> and mixing C runtimes? This seems the be the simplest and fastest
> way to get started with the tradeoff being the need to distribute
> another C runtime (in addition to the MS C runtime required for
> the Python interpreter itself)

No, don't worry. MinGW from msys can link against almost any C runtime
library.

> 2. Regarding the MS Visual C compiler - can one use the C
> compiler that ships with one of the free Express editions of
> Visual Studio or must one purchase a full version of MS Visual
> Studio to get the appropriate compiler?
> 
> 3. Which version (2005, 2008, 2010, ...) of MS Visual Studio is
> required to compile Cython libraries compatible with the 32 bit
> version of Python 2.7.2?

I've explained everything in PCbuild/readme.txt in great detail.
Summary: You can use the free VS 2088 Express Edition if you don't need
PGO or AMD64 builds.

Christian

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web