[Gdal-dev] patch for ngpython on windows using mingw

Howard Butler hobu at iastate.edu
Mon Mar 26 22:34:46 EDT 2007


On Mar 26, 2007, at 10:17 PM, Frank Warmerdam wrote:

> Howard Butler wrote:
>> On Mar 26, 2007, at 8:48 PM, Rob McMullen wrote:
>>> I couldn't figure out how to get distutils to report which  
>>> compiler it
>>> was using, so I had to assume that if you're on windows and the
>>> GDALmake.opt file exists, then you're really using the mingw  
>>> compiler.
>>>
>> Seems like as reasonable way as any to discriminate.  Patch  
>> applied to head.
>
> Rob / Howard,
>
> How does it distinguish this case from the case of a Cygwin build? Or
> for these purposes is a pure cygwin build similar to a mingw build?

Cygwin is already handled in a special case, and it's sys.platform  
comes back as 'cygwin,' so there shouldn't be any clashing.
<http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/setup.py#L97>

Howard




More information about the Gdal-dev mailing list