Changes between Version 2 and Version 3 of FAQInstallationAndBuilding


Ignore:
Timestamp:
Sep 16, 2007, 7:56:14 AM (17 years ago)
Author:
Ari Jolma
Comment:

some notes about compiling in MinGW

Legend:

Unmodified
Added
Removed
Modified
  • FAQInstallationAndBuilding

    v2 v3  
    106106== Can I build GDAL with Cygwin or MinGW? ==
    107107
    108 GDAL should build with [http://www.cygwin.com/ Cygwin] using the Unix-like style build methodology. It is also possible to build with [http://www.mingw.org/ MinGW] though there are some complications. The following might work:
     108GDAL should build with [http://www.cygwin.com/ Cygwin] using the Unix-like style build methodology. It is also possible to build with [http://www.mingw.org/ MinGW] and MSYS though there might be complications. The following might work:
    109109
    110110{{{
     
    115115Using external win32 libraries will often be problematic with either of these environments - at the least requiring some manual hacking of the GDALmake.opt file.
    116116
     117Howto compile the (NG) Python bindings:
     118
     119{{{
     120cd swig\python
     121python setup.py build -c mingw32
     122cp build\lib.win32-2.5\* c:\python25\lib\site-packages\
     123}}}
     124
     125(some details may need adjusting)
     126
     127Howto compile the Perl bindings:
     128
     129{{{
     130cd swig\perl
     131perl Makefile.PL
     132make.bat
     133make.bat install
     134}}}
     135
     136(the perl may need to be [http://www.adp-gmbh.ch/blog/2004/october/9.html compiled with MinGW])
     137
     138If you have swig, the bindings can be regenerated in MSYS prompt by command "make generate".
     139
    117140== Can I build GDAL with Borland C or other C compilers? ==
    118141