From 04bba8749d6b35df0a8795a974051d7826fdc5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 6 Apr 2011 12:40:39 +0000 Subject: [PATCH] closes #15 --- install-32-bit-lin-win.sh | 26 ++++++++++---------- install-64-and-32-bit-linux.sh | 43 +++++++++++++++++----------------- 2 files changed, 35 insertions(+), 34 deletions(-) diff --git a/install-32-bit-lin-win.sh b/install-32-bit-lin-win.sh index 1134212..6adc597 100755 --- a/install-32-bit-lin-win.sh +++ b/install-32-bit-lin-win.sh @@ -1,14 +1,14 @@ ./bootstrap.sh && \ -LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ - CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ - ./configure \ - --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ - --prefix=/opt/local/i586-mingw32msvc \ - --build=x86_64 \ - --host=i586-mingw32msvc && \ -make && \ -sudo make install && \ -make clean && \ -./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ -make check && \ -sudo make install + LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ + CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ + ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ + --prefix=/opt/local/i586-mingw32msvc \ + --build=x86_64 \ + --host=i586-mingw32msvc && \ + make && \ + sudo make install && \ + make clean && \ + ./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ + make check && \ + sudo make install diff --git a/install-64-and-32-bit-linux.sh b/install-64-and-32-bit-linux.sh index 3e3bb50..26d2c7e 100755 --- a/install-64-and-32-bit-linux.sh +++ b/install-64-and-32-bit-linux.sh @@ -1,22 +1,23 @@ ./bootstrap.sh && \ -LDFLAGS="-L/usr/lib32 -m32" CXXFLAGS="-m32" ./configure \ - --with-qt-dir=/usr/local/trolltech/qt-32bit/include \ - --libdir=/usr/local/lib32 \ - --build=x86_64 \ - --host=i386 && \ -make && \ -sudo make install && \ -make clean && \ -LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ - CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ - ./configure \ - --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ - --prefix=/opt/local/i586-mingw32msvc \ - --build=x86_64 \ - --host=i586-mingw32msvc && \ -make && \ -sudo make install && \ -make clean && \ -./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ -make check && \ -sudo make install + LDFLAGS="-L/usr/local/trolltech/qt-mingw32/lib -L/usr/lib32 -m32" \ + CXXFLAGS="-m32" ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-32bit/include \ + --libdir=/usr/local/lib32 \ + --build=x86_64 \ + --host=i386 && \ + make && \ + sudo make install && \ + make clean && \ + LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ + CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ + ./configure \ + --with-qt-dir=/usr/local/trolltech/qt-mingw32/include \ + --prefix=/opt/local/i586-mingw32msvc \ + --build=x86_64 \ + --host=i586-mingw32msvc && \ + make && \ + sudo make install && \ + make clean && \ + ./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ + make check && \ + sudo make install