Updated instructions for cross building Windows binaries under Linux

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-11-27 16:41:16 -08:00
parent d2af6054a3
commit ca819b2a09

16
INSTALL
View file

@ -132,10 +132,16 @@ To compile Subsurface, use:
$ git clone git://subsurface.hohndel.org/subsurface.git $ git clone git://subsurface.hohndel.org/subsurface.git
$ cd subsurface $ cd subsurface
$ i686-w64-mingw32-qmake-qt4 $ packaging/windows/mingw-make.sh
$ make $ packaging/windows/mingw-make.sh install
$ make install $ packaging/windows/mingw-make.sh installer
$ make create-windows-installer
The last step assumes that you have a link from packaging/windows/dll to
the correct directory in your MinGW installation. On my machine that is
/usr/i686-w64-mingw32/sys-root/mingw/bin
Similarly, the paths used in packaging/windows/mingw-make.sh may need to
be adjusted according to your distributions layout
Building Subsurface on Windows Building Subsurface on Windows
------------------------------ ------------------------------
@ -204,7 +210,7 @@ $ cd subsurface
$ qmake $ qmake
$ make $ make
$ make install $ make install
$ make create-windows-installer $ make installer
Build options Build options
------------- -------------