Changes between Version 4 and Version 5 of DevWikiWinMingWSys_20_MSVC


Ignore:
Timestamp:
Feb 29, 2012, 12:37:39 AM (12 years ago)
Author:
Mike Taves
Comment:

typo (libes), formatting

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20_MSVC

    v4 v5  
    105105}}}
    106106
    107 Open up the "MinGW Shell" and clean out the static libraries and copy the dynamic libraries over to the lib dir:
     107Open up the "MinGW Shell" and clean out the static libraries and copy the dynamic libraries over to the `lib` dir:
    108108
    109109{{{
     
    114114}}}
    115115
    116 Now you have GEOS, but PostGIS is going to need a geos-config file to build, so...
     116Now you have GEOS, but PostGIS is going to need a `geos-config` file to build, so...
    117117
    118118{{{
     
    157157}}}
    158158
    159 Edit the nmake.opt file and set the INSTDIR variable to "c:\pgsql".
     159Edit the `nmake.opt` file and set the `INSTDIR` variable to `c:\pgsql`
    160160
    161161Open up the "Visual Studio 2008 Command Prompt"
     
    168168}}}
    169169
    170 Open up the "MinGW Shell" and clean out the static libraries and copy the dynamic libraries over to the lib dir:
     170Open up the "MinGW Shell" and clean out the static libraries and copy the dynamic libraries over to the `lib` dir:
    171171
    172172{{{
     
    228228}}}
    229229
    230 Now you have libxml2, but you don't have an xml2-config file. So...
     230Now you have libxml2, but you don't have an `xml2-config` file. So...
    231231
    232232{{{
     
    234234}}}
    235235
    236 Now edit /c/pgsql/bin/xml2-config so it returns the right answers!
    237 
    238  * Change the --libes option so that "-lgeos" becomes "-lxml2 -lz -lpthread -liconv -lm"
    239  * Change the --cflags option to return "-I/c/pgsql/include/libxml"
     236Now edit `/c/pgsql/bin/xml2-config` so it returns the right answers!
     237
     238 * Change the `--libs` option so that `-lgeos` becomes `-lxml2 -lz -lpthread -liconv -lm`
     239 * Change the `--cflags` option to return `-I/c/pgsql/include/libxml`
    240240
    241241== JSON-C ==
     
    269269}}}
    270270
    271 In order get get all the symbols linking you need to edit nmake.opt appropriately. Find the following line in the file and disable STDCALL by following the directions (commenting out the line and adding the CPL_DISABLE_STDCALL flag to the OPTFLAGS later in the file.
     271In order get get all the symbols linking you need to edit `nmake.opt` appropriately. Find the following line in the file and disable `STDCALL` by following the directions (commenting out the line and adding the `CPL_DISABLE_STDCALL` flag to the `OPTFLAGS` later in the file.
    272272{{{
    273273# If you don't want some entry points to have STDCALL conventions,
     
    284284VERSION =
    285285}}}
    286 Note on the above: Blanking out the version string is necessarily to line up the DLL name with the expectation of the PostGIS configure script that gdal will be named "gdal" and not "gdal19". This is fine for a one-time compile, but in the long run, to avoid DLL conflicts, we would be better off with a properly named GDAL and having the PostGIS configure process pick up the right name from the gdal-config script and apply it to all tests.
     286Note on the above: Blanking out the version string is necessarily to line up the DLL name with the expectation of the PostGIS configure script that gdal will be named "gdal" and not "gdal19". This is fine for a one-time compile, but in the long run, to avoid DLL conflicts, we would be better off with a properly named GDAL and having the PostGIS configure process pick up the right name from the `gdal-config` script and apply it to all tests.
    287287
    288288Open up the "Visual Studio 2008 Command Prompt"
     
    293293}}}
    294294
    295 Copy the dynamic gdal-config script into place.
     295Copy the dynamic `gdal-config` script into place.
    296296{{{
    297297cp apps/gdal-config /c/pgsql/bin
     
    303303}}}
    304304
    305 Ensure gdal-config returns the right answers!
     305Ensure `gdal-config` returns the right answers!
    306306
    307307Copy the header files over, since the install process seems to not move them.
     
    325325}}}
    326326
    327 Before building, edit one file to allow the regression tests to run, edit ./regress/Makefile.in and set
     327Before building, edit one file to allow the regression tests to run, edit `./regress/Makefile.in` and set
    328328{{{
    329329REGRESS_INSTALLDIR=C:/build/sources/postgis-svn/regress/00-regress-install