[Box Backup-dev] COMMIT r571 - box/chris/general/docs/backup
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Sat May 20 18:19:28 BST 2006
Author: chris
Date: 2006-05-20 17:19:09 +0000 (Sat, 20 May 2006)
New Revision: 571
Modified:
box/chris/general/docs/backup/win32_build_on_linux_using_mingw.txt
Log:
* win32_build_on_linux_using_mingw.txt
- Added instructions on building OpenSSL
Modified: box/chris/general/docs/backup/win32_build_on_linux_using_mingw.txt
===================================================================
--- box/chris/general/docs/backup/win32_build_on_linux_using_mingw.txt 2006-05-18 21:21:21 UTC (rev 570)
+++ box/chris/general/docs/backup/win32_build_on_linux_using_mingw.txt 2006-05-20 17:19:09 UTC (rev 571)
@@ -7,6 +7,11 @@
- Fedora and SuSE users can download RPM packages from
[http://mirzam.it.vu.nl/mingw/]
+You will need to know the prefix used by the cross-compiler executables.
+It will usually be something like "ix86-mingw32*-". All the binaries in the
+cross-compiler package will start with this prefix. The documentation below
+assumes that it is "i386-mingw32-". Adjust to taste.
+
Download Zlib from [http://www.zlib.net/], unpack and enter source directory:
export CC=i386-mingw32-gcc
@@ -16,8 +21,19 @@
make
make install prefix=/usr/local/i386-mingw32
-Download OpenSSL 0.9.7 from
+Download OpenSSL 0.9.8a from
+[http://www.openssl.org/source/openssl-0.9.8b.tar.gz]
+Unpack and configure:
+
+ tar xzvf openssl-0.9.8b.tar.gz
+ cd openssl-0.9.8b
+ ./Configure mingw
+ make makefile.one
+ wget http://bbdev.fluffy.co.uk/svn/box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch
+ patch -p1 < openssl-0.9.8b-mingw-cross.patch
+ make -f makefile.one
+
Configure Box with:
export CXX="i386-mingw32-g++"
@@ -27,5 +43,6 @@
export CXXFLAGS="-mthreads"
export LDFLAGS="-mthreads"
export LIBS="-lcrypto -lws2_32 -lgdi32"
+ (if you don't have a "configure" file, run "./bootstrap")
./configure --target=i386-mingw32
make CXX="$CXX" AR="$AR" RANLIB="$RANLIB"
More information about the Boxbackup-dev
mailing list