Skip to content

Commit

Permalink
Update to Documentation for Windows Build (#6)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Biztactix-Ryan authored and alejandromgk committed Jan 28, 2018
1 parent 7b03d2a commit 4b14c3a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/build-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,28 @@ 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:

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.
Expand Down

0 comments on commit 4b14c3a

Please sign in to comment.