Changes between Version 25 and Version 26 of SetupDevelopment


Ignore:
Timestamp:
05/31/10 10:26:25 (14 years ago)
Author:
jmckenna
Comment:

add hdx workaround

Legend:

Unmodified
Added
Removed
Modified
  • SetupDevelopment

    v25 v26  
    6767     * ./fr_configure
    6868     * make
    69        (this should produce a setup.exe executable in the setup directory)
     69       (this should produce a setup.exe executable in the setup directory, that is approximately 9 MB in size)
    7070     * make clean (if necessary)   
     71   * if you are building a release version of osgeo4w-setup.exe (meaning it will be uploaded to the OSGeo [http://download.osgeo.org/osgeo4w/ download server]):
     72     1. remove debugging symbols with the cygwin command:
     73       {{{
     74           strip -s setup.exe
     75       }}}
     76       the file should now be around a MB in size
     77     2. compress the exe using the UPX utility, with the cygwin command:
     78       {{{
     79           upx -9 setup.exe
     80       }}}
     81       the file should now be around 400 KB in size
     82       * if the UPX command returns the following error:
     83         {{{
     84             CantPackException: TLS callbacks are not supported
     85         }}}
     86         * UPX does not support executables with .tls sections, and apparently for mingw-runtime version 3.18 TLS callbacks are default (see [http://www.cygwin.com/ml/cygwin-apps/2010-03/msg00075.html cygwin-apps discussion]
     87         * so the temporary workaround is:
     88           * use the cygwin installer to revert to the mingw-runtime version 3.17 (inside the /Libs section of the package installer)
    7189
    7290== Debugging the Setup code ==