2011-02-14 18:25:34 +01:00
|
|
|
Copyright (c) 2009-2011 Bitcoin Developers
|
2010-08-29 18:58:15 +02:00
|
|
|
Distributed under the MIT/X11 software license, see the accompanying
|
|
|
|
file license.txt or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
This product includes software developed by the OpenSSL Project for use in
|
|
|
|
the OpenSSL Toolkit (http://www.openssl.org/). This product includes
|
2011-03-26 13:01:27 +01:00
|
|
|
cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP
|
|
|
|
software written by Thomas Bernard.
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
WINDOWS BUILD NOTES
|
|
|
|
===================
|
|
|
|
|
|
|
|
Compilers Supported
|
|
|
|
-------------------
|
2011-02-18 15:49:00 +01:00
|
|
|
MinGW GCC http://tdm-gcc.tdragon.net/
|
|
|
|
TDM-GCC with gcc 4.5.1 was used to build this release.
|
|
|
|
MSYS 1.0.11 was also used (sh needed to compile some dependencies)
|
2010-08-29 18:58:15 +02:00
|
|
|
|
2011-02-18 15:49:00 +01:00
|
|
|
|
|
|
|
Candidate releases were built with MSVC 10.0 (2010), but
|
|
|
|
compiling with Visual C++ caused rendering artifacts when
|
|
|
|
bitcoin was run.
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
Libraries you need to download separately and build:
|
|
|
|
|
2011-03-26 13:01:27 +01:00
|
|
|
default path download
|
2011-08-12 00:20:07 +02:00
|
|
|
wxWidgets \wxwidgets-2.9.2-mgw http://www.wxwidgets.org/downloads/
|
2011-05-27 02:53:13 +02:00
|
|
|
OpenSSL \openssl-1.0.0d-mgw http://www.openssl.org/source/
|
2011-08-12 00:20:07 +02:00
|
|
|
Berkeley DB \db-4.8.30.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
|
|
|
|
Boost \boost-1.47.0-mgw http://www.boost.org/users/download/
|
|
|
|
miniupnpc \miniupnpc-1.6-mgw http://miniupnp.tuxfamily.org/files/
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
Their licenses:
|
|
|
|
wxWidgets LGPL 2.1 with very liberal exceptions
|
|
|
|
OpenSSL Old BSD license with the problematic advertising requirement
|
|
|
|
Berkeley DB New BSD license with additional requirement that linked software must be free open source
|
|
|
|
Boost MIT-like license
|
2011-03-26 13:01:27 +01:00
|
|
|
miniupnpc New (3-clause) BSD license
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
Versions used in this release:
|
2011-08-12 00:20:07 +02:00
|
|
|
wxWidgets 2.9.2
|
2011-05-27 02:53:13 +02:00
|
|
|
OpenSSL 1.0.0d
|
2011-08-12 00:20:07 +02:00
|
|
|
Berkeley DB 4.8.30.NC
|
|
|
|
Boost 1.47.0
|
|
|
|
miniupnpc 1.6
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
Notes
|
|
|
|
-----
|
|
|
|
The UI layout is edited with wxFormBuilder. The project file is
|
|
|
|
uiproject.fbp. It generates uibase.cpp and uibase.h, which define base
|
|
|
|
classes that do the rote work of constructing all the UI elements.
|
|
|
|
|
|
|
|
wxWidgets
|
|
|
|
---------
|
2011-02-18 15:49:00 +01:00
|
|
|
DOS shell:
|
2011-08-12 00:20:07 +02:00
|
|
|
cd \wxWidgets-2.9.2-mgw\build\msw
|
2011-02-18 15:49:00 +01:00
|
|
|
mingw32-make -f makefile.gcc
|
2010-08-29 18:58:15 +02:00
|
|
|
|
|
|
|
OpenSSL
|
|
|
|
-------
|
2011-02-18 15:49:00 +01:00
|
|
|
MSYS shell:
|
|
|
|
un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
|
|
|
|
change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
|
|
|
|
|
2011-05-27 02:53:13 +02:00
|
|
|
cd /c/openssl-1.0.0d-mgw
|
2011-02-18 15:49:00 +01:00
|
|
|
./config
|
|
|
|
make
|
|
|
|
|
2010-08-29 18:58:15 +02:00
|
|
|
Berkeley DB
|
|
|
|
-----------
|
2011-02-18 15:49:00 +01:00
|
|
|
MSYS shell:
|
2011-08-12 00:20:07 +02:00
|
|
|
cd /c/db-4.8.30.NC-mgw/build_unix
|
2011-02-18 15:49:00 +01:00
|
|
|
sh ../dist/configure --enable-mingw --enable-cxx
|
|
|
|
make
|
|
|
|
|
2010-08-29 18:58:15 +02:00
|
|
|
Boost
|
|
|
|
-----
|
2011-02-18 15:49:00 +01:00
|
|
|
DOS prompt:
|
|
|
|
downloaded boost jam 3.1.18
|
2011-08-12 00:20:07 +02:00
|
|
|
cd \boost-1.47.0-mgw
|
2011-02-18 15:49:00 +01:00
|
|
|
bjam toolset=gcc --build-type=complete stage
|
2011-02-14 18:25:34 +01:00
|
|
|
|
2011-03-26 13:01:27 +01:00
|
|
|
MiniUPnPc
|
|
|
|
---------
|
|
|
|
UPnP support is optional, make with USE_UPNP= to disable it.
|
|
|
|
|
2011-08-12 00:20:07 +02:00
|
|
|
MSYS shell:
|
|
|
|
cd /c/miniupnpc-1.6-mgw
|
|
|
|
make -f Makefile.mingw
|
|
|
|
mkdir miniupnpc
|
|
|
|
cp *.h miniupnpc/
|
2011-03-26 13:01:27 +01:00
|
|
|
|
2011-02-18 15:49:00 +01:00
|
|
|
Bitcoin
|
|
|
|
-------
|
|
|
|
DOS prompt:
|
2011-04-23 11:49:47 +02:00
|
|
|
cd \bitcoin\src
|
2011-02-18 15:49:00 +01:00
|
|
|
mingw32-make bitcoin.exe bitcoind.exe -f makefile.mingw
|
|
|
|
strip bitcoin.exe
|
|
|
|
strip bitcoind.exe
|