From a71287d62ce49ff601d24784d0d97d3d52172632 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 17 Apr 2014 16:47:37 +0000 Subject: More updates to Win32 build instructions. --- docs/api-notes/win32_build_on_cygwin_using_mingw.txt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt index 1bf2c552..f9e677e5 100644 --- a/docs/api-notes/win32_build_on_cygwin_using_mingw.txt +++ b/docs/api-notes/win32_build_on_cygwin_using_mingw.txt @@ -45,16 +45,16 @@ your user's home directory in /etc/passwd to match. == OpenSSL == -Download OpenSSL from [http://www.openssl.org/source/openssl-1.0.0e.tar.gz] +Download OpenSSL from [http://www.openssl.org/source/openssl-1.0.1f.tar.gz] Open a Cygwin shell, go to the base directory, and unpack OpenSSL: - tar xzvf openssl-1.0.0e.tar.gz + tar xzvf openssl-1.0.1f.tar.gz Configure OpenSSL for MinGW compilation, and build and install it: - cd openssl-1.0.0e - ./Configure --prefix=/usr/x86_64-w64-mingw32/ mingw64 --cross-compile-prefix=x86_64-w64-mingw32- + cd openssl-1.0.1f + ./Configure --prefix=/usr/x86_64-w64-mingw32 mingw64 --cross-compile-prefix=x86_64-w64-mingw32- make make install_sw @@ -63,16 +63,14 @@ Configure OpenSSL for MinGW compilation, and build and install it: This step is only required to support regular expressions in including/excluding files from backups. However, this is a very useful feature. Download PCRE from -[http://prdownloads.sourceforge.net/pcre/pcre-8.12.tar.bz2?download]. +[http://prdownloads.sourceforge.net/pcre/pcre-8.34.tar.bz2?download]. Open a Cygwin shell, go to the base directory, and unpack, build and install PCRE: - tar xjvf pcre-8.12.tar.bz2 - cd pcre-8.12 - export CFLAGS="-mno-cygwin" - export CXXFLAGS="-mno-cygwin" - ./configure --prefix=/usr/i686-pc-mingw32 --disable-shared + tar xjvf pcre-8.34.tar.bz2 + cd pcre-8.34 + ./configure --prefix=/usr/x86_64-w64-mingw32 --disable-shared --target=x86_64-w64-mingw32 make make install -- cgit v1.2.3