Remove UPNP support & do some cleanup.
[novacoin.git] / doc / build-msw.txt
1 Copyright (c) 2009-2012 Bitcoin Developers
2 Copyright (c) 2013 NovaCoin Developers
3 Distributed under the MIT/X11 software license, see the accompanying
4 file license.txt or http://www.opensource.org/licenses/mit-license.php.
5 This product includes software developed by the OpenSSL Project for use in
6 the OpenSSL Toolkit (http://www.openssl.org/).  This product includes
7 cryptographic software written by Eric Young (eay@cryptsoft.com).
8
9
10 See readme-qt.rst for instructions on building NovaCoin QT, the
11 graphical user interface.
12
13 WINDOWS BUILD NOTES
14 ===================
15
16 Compilers Supported
17 -------------------
18 TODO: What works?
19 Note: releases are cross-compiled using mingw running on Linux.
20
21
22 Dependencies
23 ------------
24 Libraries you need to download separately and build:
25
26                 default path               download
27 OpenSSL         \openssl-1.0.1j-mgw        http://www.openssl.org/source/
28 Berkeley DB     \db-6.0.20.NC-mgw          http://www.oracle.com/technology/software/products/berkeley-db/index.html
29 Boost           \boost-1.57.0-mgw          http://www.boost.org/users/download/
30
31 Their licenses:
32 OpenSSL        Old BSD license with the problematic advertising requirement
33 Berkeley DB    New BSD license with additional requirement that linked software must be free open source
34 Boost          MIT-like license
35
36 Versions used in this release:
37 OpenSSL      1.0.1j
38 Berkeley DB  6.0.20.NC
39 Boost        1.57.0
40
41
42 OpenSSL
43 -------
44 MSYS shell:
45 un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
46 change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
47
48 cd /c/openssl-1.0.1j-mgw
49 ./config
50 make
51
52 Berkeley DB
53 -----------
54 MSYS shell:
55 cd /c/db-6.0.20.NC-mgw/build_unix
56 sh ../dist/configure --enable-mingw --enable-cxx
57 make
58
59 Boost
60 -----
61 DOS prompt:
62 downloaded boost jam 3.1.18
63 cd \boost-1.57.0-mgw
64 bjam toolset=gcc --build-type=complete stage
65
66 NovaCoin
67 -------
68 DOS prompt:
69 cd \novacoin\src
70 mingw32-make -f makefile.mingw
71 strip novacoind.exe