2012-02-07 17:28:30 +01:00
|
|
|
Copyright (c) 2009-2012 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
|
|
|
|
|
|
|
|
2011-09-26 17:40:43 +02:00
|
|
|
See readme-qt.rst for instructions on building Bitcoin QT, the
|
|
|
|
graphical user interface.
|
|
|
|
|
2010-08-29 18:58:15 +02:00
|
|
|
WINDOWS BUILD NOTES
|
|
|
|
===================
|
|
|
|
|
|
|
|
Compilers Supported
|
|
|
|
-------------------
|
2011-11-01 22:59:33 +01:00
|
|
|
TODO: What works?
|
|
|
|
Note: releases are cross-compiled using mingw running on Linux.
|
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
|
2012-05-28 23:46:37 +02:00
|
|
|
OpenSSL \openssl-1.0.1d-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:
|
|
|
|
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:
|
2012-05-28 23:46:37 +02:00
|
|
|
OpenSSL 1.0.1d
|
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
|
|
|
|
|
|
|
|
|
|
|
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'
|
|
|
|
|
2012-05-28 23:46:37 +02:00
|
|
|
cd /c/openssl-1.0.1d-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-11-01 22:59:33 +01:00
|
|
|
mingw32-make -f makefile.mingw
|
2011-02-18 15:49:00 +01:00
|
|
|
strip bitcoind.exe
|