Marc Wäckerlin 14 years ago
parent 684ba4bfa3
commit 7904ef63de
  1. 9
      install-64-and-32-bit-linux.sh

@ -1,7 +1,5 @@
./bootstrap.sh && \ ./bootstrap.sh && \
LDFLAGS="-L/usr/local/trolltech/qt-32bit/lib -L/usr/lib32 -m32" \ LDFLAGS="-L/usr/lib32 -m32" CXXFLAGS="-m32" ./configure \
CXXFLAGS="-m32" ./configure \
--with-qt-dir=/usr/local/trolltech/qt-32bit/include \
--libdir=/usr/local/lib32 \ --libdir=/usr/local/lib32 \
--build=x86_64 \ --build=x86_64 \
--host=i386 && \ --host=i386 && \
@ -9,15 +7,14 @@
sudo make install && \ sudo make install && \
make clean && \ make clean && \
LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \ LDFLAGS="-L/opt/local/i586-mingw32msvc/lib" \
CPPFLAGS="-I/opt/local/i586-mingw32msvc/include -DQ_OS_WIN32" \ CPPFLAGS="-I/opt/local/i586-mingw32msvc/include" \
./configure \ ./configure \
--with-qt-dir=/usr/local/trolltech/qt-mingw32/include \
--prefix=/opt/local/i586-mingw32msvc \ --prefix=/opt/local/i586-mingw32msvc \
--build=x86_64 \ --build=x86_64 \
--host=i586-mingw32msvc && \ --host=i586-mingw32msvc && \
make && \ make && \
sudo make install && \ sudo make install && \
make clean && \ make clean && \
./configure --with-qt-dir=/usr/local/trolltech/qt/include && \ ./configure && \
make check && \ make check && \
sudo make install sudo make install

Loading…
Cancel
Save