[Gdal-dev] Compiling ogr/gdal on win32 using MingW

Frank Warmerdam warmerdam at pobox.com
Wed Jul 14 11:13:33 EDT 2004


Woon Wei Lee wrote:
> Thanks for the tips... 
> I can't use the pre-built binaries because I made some modifications to the mitab source 
> which i need in order for my application to work. (it already works on linux but now i 
> want to create a windows version)
> 
> Sorry, feeling really ignorant here but I don't quite get what u mean by running 
> ./configure on windows... afaik configure is a bourne shell script so it won't work on 
> windows (unless I use cygwin, but I'm really trying to avoid that - would rather use 
> mingw if possible) ... I hope I'm missing something really obvious here...  :-(

Wei Lee,

I believe the suggestion is to use Cygwin as the shell, but mingw as the
compiler.  Just avoid installing the Cygwin compiler packages.  This allows
you to use the goodness of Cygwin shell tools to configure things while avoiding
the cygwin.dll dependentness of using the Cygwin compiler.

Of course, I could be missing something.  I haven't tried mingw myself yet.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list