Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.05; 'subject:Python': 0.05; 'compiler': 0.07; 'python': 0.08; 'compiler.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'runtime': 0.09; 'subject:2.7': 0.09; 'amd64': 0.16; 'compiler?': 0.16; 'simplest': 0.16; 'subject: \n ': 0.16; 'subject:Cython': 0.16; 'subject:bit': 0.16; 'subject:Windows': 0.18; 'appears': 0.19; 'seems': 0.20; 'compatible': 0.21; 'appropriate': 0.22; 'header :In-Reply-To:1': 0.22; 'libraries': 0.24; 'library.': 0.24; 'subject:use': 0.24; '(in': 0.26; 'bit': 0.28; 'compile': 0.29; 'builds.': 0.30; "i've": 0.31; 'version': 0.32; '2008,': 0.32; 'fastest': 0.32; 'header:User-Agent:1': 0.33; 'header:X -Complaints-To:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'subject:with': 0.36; 'another': 0.37; 'using': 0.38; 'received:org': 0.38; 'some': 0.38; 'getting': 0.38; 'received:de': 0.39; 'either': 0.39; 'being': 0.39; 'to:addr:python.org': 0.40; 'full': 0.62; 'studio': 0.63; 'link': 0.63; 'free': 0.64; 'edition': 0.68; 'purchase': 0.84; '2088': 0.84; 'ships': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Christian Heimes Subject: Re: Choosing a Windows C compiler for use with Cython and 32-bit Python 2.7 Date: Wed, 23 Nov 2011 13:27:46 +0100 References: <1322050276.28050.140661002645593@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: g228135214.adsl.alicedsl.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <1322050276.28050.140661002645593@webmail.messagingengine.com> X-Enigmail-Version: 1.4a1pre OpenPGP: id=AD16AB1B; url=http://cheimes.de/heimes.asc X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1322051290 news.xs4all.nl 6882 [2001:888:2000:d::a6]:48528 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16105 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