[Distutils] Compiling extensions with MingW32 / python.org binary

M.-A. Lemburg mal at egenix.com
Wed Jan 14 11:40:32 EST 2004


Michael Droettboom wrote:
> Moore, Paul wrote:
> 
>> From: Michael Droettboom
>>  
>>
>>> I've come across a possible bug with --compiler=mingw32 and 
>>> --compiler=cygwin support when using the standard python.org 2.3.3 
>>> .exe.  (I do this so I can distribute binary installers that work 
>>> with the standard Python distribution, but don't want to buy MS 
>>> Visual Studio...)
>>>   
>>
>>
>> I don't have a C extension handy to try at the moment, but I haven't
>> had a problem in the past using mingw (--compiler=mingw32) and
>> python.org python 2.3.3.
>>
>> Can you clarify what you are having problems with? Using python.org
>> python with cygwin gcc (--compiler=cygwin)? If so, I have no experience
>> with that, so I can't help (beyond saying that mingw works fine, so
>> don't break that in the process of fixing the cygwin case!)
>>  
>>
> I'm having problems with both --compiler=cygwin and --compiler=mingw32.

Please check your environment: could be that distutils picks
up an environment setting that changes gcc to cc.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 13 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the Distutils-SIG mailing list