| 4 | If you want to get to the last step fast to immediately start compiling PostGIS without having to compile the dependencies, |
| 5 | you 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) == |
| 8 | 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 | We will use MingGW-w64 toolchain instead of the standard MingW since it has support for both 32-bit and 64-bit compiling. |
| 11 | 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''. |
| 12 | |
| 13 | Details of the prefixes of files can be found at [http://sourceforge.net/apps/trac/mingw-w64/wiki/download%20filename%20structure What to download] |
| 14 | |
| 15 | MingW-w64 site is [http://mingw-w64.sourceforge.net] |
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] |