Wrapper round x86 Assembler

Chris Liechti cliechti at gmx.net
Fri Apr 16 19:43:46 EDT 2004


michael at foord.net (Fuzzyman) wrote in
news:8089854e.0404160530.5b7c23aa at posting.google.com: 

> Greg Ewing <greg at cosc.canterbury.ac.nz> wrote in message
> news:<c5nn0n$312cv$1 at ID-169208.news.uni-berlin.de>... 
>> Fuzzyman wrote:
>> > The only compielr I have is gcc under mingw - and I'm not at all
>> > sure it's set up right. Does pyrex still need a C-compiler or *is*
>> > pyrex a compiler ?
>> 
>> It needs a C compiler. MinGW should be fine
>> (once you get it set up properly, anyway:-).
> 
> Yeah - I'm having great fun getting it set up.
> MinGW seems easy enough to install - I've even compiled example C
> programs with gcc - but getting disutils to use it is another
> matter...

add the bin dir of mingw to the PATH variable, do the pexports stuff to 
create an import lib and then use e.g.
python setup.py build --compiler=mingw32

see here for the pexports part:
http://docs.python.org/inst/tweak-flags.html#SECTION000620000000000000000

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list