Changes between Version 153 and Version 154 of DevWikiWinMingW64
- Timestamp:
- 04/20/13 23:10:17 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevWikiWinMingW64
v153 v154 2 2 [wiki:UsersWikiWinCompile Back to Compiling in Windows] 3 3 If you want to get to the last step fast of just compiling PostGIS without having to compile the dependencies, 4 you can download our prepared mingw64 bit chains which you can downloadfrom [http://www.bostongis.com/postgisstuff/ming64.zip] and for 32-bit (for PostgreSQL 9.2+) [http://www.bostongis.com/postgisstuff/ming32.zip]4 you can download our prepared mingw64 bit chains from [http://www.bostongis.com/postgisstuff/ming64.zip] and for 32-bit (for PostgreSQL 9.2+) [http://www.bostongis.com/postgisstuff/ming32.zip] 5 5 , extract to C:\ming64 and C:\ming32, and launch the corresponding c:\ming64\msys\msys.bat and you should be on your way 6 6 … … 10 10 the postgres server and clicking enter will shut it down. With that you can jump straight to the section on compiling PostGIS 11 11 12 For PostgreSQL 9.2 and above, you can also use more or less the same steps and that is hwat we use to package the 32-bit PostgreSQL 9.2+. We'll be publishing our ming32 tar ball soon.12 For PostgreSQL 9.2 and above, you can also use more or less the same steps and that is what we use to package the 32-bit PostgreSQL 9.2+. We'll be publishing our ming32 tar ball soon. 13 13 Also there are issues with GEOS compile about 4.5.4 or so, in 4.6.1+, the make check crashes and so does 14 14 PostGIS tests when compiled with GCC 4.6+. That said you should pick a build lower than GCC 4.6. … … 22 22 MingW-w64 site is [http://mingw-w64.sourceforge.net] 23 23 24 * If you are on64-bit Windows download one of the binary packages from [http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/] with name24 * If you are building for 64-bit Windows download one of the binary packages from [http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/] with name 25 25 starting with '''mingw-w64-1.0-bin_i686-mingw_''' 26 26 27 * If you are on32-bit Windows download one of the binary packages from [http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/] with name starting with27 * If you are building for 32-bit Windows download one of the binary packages from [http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/] with name starting with 28 28 '''mingw-w32-1.0-bin_i686-mingw_''' (for my purposes I used mingw-w32-1.0-bin_i686-mingw_20110408.zip) and for native 64-bit (currently using mingw-w64-1.0-bin_i686-mingw_20110516) 29 30 * Note if you are on 64-bit windows you can compile for both 32-bit and 64-bit by downloading both. 29 31 30 32 * Extract your respective zip into a folder called C:\ming64\mingw64 or c:\ming32\mingw32