Update the documentation with dependencies for cross-building on Linux to Windows

Update the documentation with dependencies for cross-building on Linux
to Windows for OpenSuse platform and correct some building instructions.
Moreover fix the windows building script to use the architectural specific
binary.

Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Claudiu Olteanu 2015-03-17 21:26:23 +02:00 committed by Dirk Hohndel
parent 8fe738bf64
commit d3d3cd9e35
2 changed files with 33 additions and 7 deletions

View file

@ -16,8 +16,10 @@ rm $BASEDIR/../../ssrf-version.h > /dev/null 2>&1
if [[ $1 == "Qt5-64" ]] ; then
export PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin:$PATH
MINGW_MAKE="mingw64-make"
else
export PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$PATH
MINGW_MAKE="mingw32-make"
fi
export objdump=mingw-objdump
@ -74,4 +76,4 @@ else
$BASEDIR/../../subsurface.pro
fi
mingw32-make $@
$MINGW_MAKE $@