From 4b14c3a4e1cea8c6b7a0c5ff8ae1389c373c3013 Mon Sep 17 00:00:00 2001 From: Ryan Tregea Date: Mon, 29 Jan 2018 05:37:05 +1100 Subject: [PATCH] Update to Documentation for Windows Build (#6) * Update build-windows.md Libtool is also required * Update build-windows.md Automake is needed too * Update build-windows.md Closest I've gotten to a build.... * Update build-windows.md Needs g++ too --- doc/build-windows.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/build-windows.md b/doc/build-windows.md index bc8d12cf26533..5beae34b1dcc5 100644 --- a/doc/build-windows.md +++ b/doc/build-windows.md @@ -16,16 +16,19 @@ These steps can be performed on, for example, an Ubuntu VM. The depends system will also work on other Linux distributions, however the commands for installing the toolchain will be different. +For Ubuntu 14.04.05 - This has been tested from FreshInstall of Desktop Ubuntu 14.04.05 + First install the toolchains: - sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev + sudo apt-get install g++ g++-mingw-w64-i686 mingw-w64-i686-dev g++-mingw-w64-x86-64 mingw-w64-x86-64-dev libtool automake libdb++-dev To build executables for Windows 32-bit: cd depends make HOST=i686-w64-mingw32 -j4 cd .. - ./configure --prefix=`pwd`/depends/i686-w64-mingw32 + ./autogen.sh + ./configure --with-incompatible-bdb --prefix=`pwd`/depends/i686-w64-mingw32 make To build executables for Windows 64-bit: @@ -33,7 +36,8 @@ To build executables for Windows 64-bit: cd depends make HOST=x86_64-w64-mingw32 -j4 cd .. - ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 + ./autogen.sh + ./configure --with-incompatible-bdb --prefix=`pwd`/depends/x86_64-w64-mingw32 make For further documentation on the depends system see [README.md](../depends/README.md) in the depends directory.