Changes between Version 13 and Version 14 of DevWikiWinMingW64_21


Ignore:
Timestamp:
Apr 20, 2013, 11:19:10 PM (11 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingW64_21

    v13 v14  
    22[wiki:UsersWikiWinCompile Back to Compiling in Windows]
    33
     4If you want to get to the last step fast to immediately start compiling PostGIS without having to compile the dependencies,
     5you can download our prepared mingw64+msys build environment which you can download from  [http://www.bostongis.com/postgisstuff/ming64.zip] and for 32-bit (for PostgreSQL 9.2+ (32-bit 9.1 and below have to use old msys chain) [http://www.bostongis.com/postgisstuff/ming32.zip]
     6
     7== 1. Installing Minimalist GNU for Windows-w64 (MinGW-w64) ==
     8The mingw64 for build 32-bit binaries only works for PostgreSQL 9.2+.  There are changes they did in 9.2 that were never backported to 9.1 and below. So to compile PostGIS for 32-bit for 9.1 and below you need to use the regular old Msys instructions. mingw64 chain will work for 64-bit 9.0-9.3 and for 32-bit 9.2-9.3.
     9
     10We will use MingGW-w64 toolchain instead of the standard MingW since it has support for both 32-bit and 64-bit compiling.
     11For this discussion we are using the binaries built for running on Windows. We haven't tried the builds designed for building windows binaries under ''Linux/Unix''.
     12
     13Details of the prefixes of files can be found at [http://sourceforge.net/apps/trac/mingw-w64/wiki/download%20filename%20structure What to download]
     14
     15MingW-w64 site is [http://mingw-w64.sourceforge.net]
    416There are issues with GEOS compile above 4.5.4 or so, in 4.6.1+, the make check crashes and so does
    517PostGIS tests when compiled with GCC 4.6+.  That said you should pick a build lower than GCC 4.6. We like GCC 4.5.4
    618Issues are documented in http://trac.osgeo.org/geos/ticket/518 (also similar issue compiling Geos under windows 64-bit SDK http://trac.osgeo.org/geos/ticket/528 )
    7 
    8 Also note, the mingw64 for build 32-bit binaries only works for PostgreSQL 9.2+.  There are changes they did in 9.2 that were never backported to 9.1 and below. So to compile PostGIS for 32-bit for 9.1 and below you need to use the regular old Msys instructions. mingw64 chain will work for 64-bit 9.0-9.3 and for 32-bit 9.2-9.3.
    9 
    10 If you want to get to the last step fast to immediately start compiling PostGIS without having to compile the dependencies,
    11 you can download our prepared mingw64 bit chains which you can download from  [http://www.bostongis.com/postgisstuff/ming64.zip] and for 32-bit (for PostgreSQL 9.2+) [http://www.bostongis.com/postgisstuff/ming32.zip]
    12 
    13 == 1. Installing Minimalist GNU for Windows-w64 (MinGW-w64) ==
    14 We will use MingGW-w64 toolchain instead of the standard MingW since it has support for both 32-bit and 64-bit compiling.
    15 For this discussion we are using the binaries built for running on Windows. We haven't tried the builds designed for building windows binaries under Linux/Unix.
    16 
    17 Details of the prefixes of files can be found at [http://sourceforge.net/apps/trac/mingw-w64/wiki/download%20filename%20structure What to download]
    18 
    19 MingW-w64 site is [http://mingw-w64.sourceforge.net]
    2019
    2120 * If you are building for 64-bit Windows download the personal build from [http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/sezero_4.5_20111101/] with name