Changes between Version 18 and Version 19 of DevWikiWinMingW64_21
- Timestamp:
- 05/02/13 22:21:58 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified DevWikiWinMingW64_21
v18 v19 4 4 If you want to get to the last step fast to immediately start compiling PostGIS without having to compile the dependencies, 5 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 Then you just extract the zip so you have ming32 and or ming64 on your C:\ming32, C:\ming64 and launch the corresponding msys\msys.bat 6 7 7 8 If you want to start with your own mingw64 install and then add additional items refer to [wiki:DevWikiMingW64_Setup] 8 == 3.b create project folders == 9 == variables used == 10 For building we always have these variables defined in our sh scripts 11 You can switch the 64 to 32 if you are building with our ming32 environment. 9 12 10 13 {{{ 11 cd ${PROJECTS} 14 export OS_BUILD=64 15 export PROJECTS=/c/ming${OS_BUILD}/projects 16 if [ "$OS_BUILD" == "64" ] ; then 17 export MINGHOST=x86_64-w64-mingw32 18 else 19 export MINGHOST=i686-w64-mingw32 20 fi; 21 }}} 22 23 == create project folders == 24 The download files we have above already have these folders and we like to keep 25 each set separate. The below we set to 64 for our ming64 folder 26 {{{ 27 cd ${PROJECTS} 12 28 mkdir pgx${OS_BUILD} 13 29 mkdir postgresql … … 15 31 mkdir proj 16 32 mkdir docbook 17 ls 33 18 34 19 35 }}} … … 21 37 == GDAL == 22 38 {{{ 23 export GDAL_VER=1. 9.239 export GDAL_VER=1.10.0 24 40 cd ${PROJECTS}/gdal 25 41 wget http://download.osgeo.org/gdal/gdal-${GDAL_VER}.tar.gz