- Timestamp:
- 12/10/2006 20:41:06 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/docs/backup/win32_build_on_linux_using_mingw.txt
r217 r976 7 7 - Fedora and SuSE users can download RPM packages from 8 8 [http://mirzam.it.vu.nl/mingw/] 9 10 You will need to know the prefix used by the cross-compiler executables. 11 It will usually be something like "ix86-mingw32*-". All the binaries in the 12 cross-compiler package will start with this prefix. The documentation below 13 assumes that it is "i386-mingw32-". Adjust to taste. 9 14 10 15 Download Zlib from [http://www.zlib.net/], unpack and enter source directory: … … 17 22 make install prefix=/usr/local/i386-mingw32 18 23 19 Download OpenSSL 0.9.7 from 24 Download OpenSSL 0.9.8b from 25 [http://www.openssl.org/source/openssl-0.9.8b.tar.gz] 26 27 Unpack and configure: 28 29 tar xzvf openssl-0.9.8b.tar.gz 30 cd openssl-0.9.8b 31 ./Configure mingw 32 make makefile.one 33 wget http://bbdev.fluffy.co.uk/svn/box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch 34 patch -p1 < openssl-0.9.8b-mingw-cross.patch 35 make -f makefile.one 20 36 21 37 Configure Box with: … … 28 44 export LDFLAGS="-mthreads" 29 45 export LIBS="-lcrypto -lws2_32 -lgdi32" 46 (if you don't have a "configure" file, run "./bootstrap") 30 47 ./configure --target=i386-mingw32 31 make CXX="$CXX" AR="$AR" RANLIB="$RANLIB" 48 make CXX="$CXX" AR="$AR" RANLIB="$RANLIB" WINDRES="i386-mingw32-windres"
Note: See TracChangeset
for help on using the changeset viewer.
