You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build-msw.txt 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Copyright (c) 2009-2011 Bitcoin Developers
  2. Distributed under the MIT/X11 software license, see the accompanying
  3. file license.txt or http://www.opensource.org/licenses/mit-license.php.
  4. This product includes software developed by the OpenSSL Project for use in
  5. the OpenSSL Toolkit (http://www.openssl.org/). This product includes
  6. cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP
  7. software written by Thomas Bernard.
  8. WINDOWS BUILD NOTES
  9. ===================
  10. Compilers Supported
  11. -------------------
  12. MinGW GCC http://tdm-gcc.tdragon.net/
  13. TDM-GCC with gcc 4.5.1 was used to build this release.
  14. MSYS 1.0.11 was also used (sh needed to compile some dependencies)
  15. Candidate releases were built with MSVC 10.0 (2010), but
  16. compiling with Visual C++ caused rendering artifacts when
  17. bitcoin was run.
  18. Dependencies
  19. ------------
  20. Libraries you need to download separately and build:
  21. default path download
  22. wxWidgets \wxwidgets-2.9.2-mgw http://www.wxwidgets.org/downloads/
  23. OpenSSL \openssl-1.0.0d-mgw http://www.openssl.org/source/
  24. Berkeley DB \db-4.8.30.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
  25. Boost \boost-1.47.0-mgw http://www.boost.org/users/download/
  26. miniupnpc \miniupnpc-1.6-mgw http://miniupnp.tuxfamily.org/files/
  27. Their licenses:
  28. wxWidgets LGPL 2.1 with very liberal exceptions
  29. OpenSSL Old BSD license with the problematic advertising requirement
  30. Berkeley DB New BSD license with additional requirement that linked software must be free open source
  31. Boost MIT-like license
  32. miniupnpc New (3-clause) BSD license
  33. Versions used in this release:
  34. wxWidgets 2.9.2
  35. OpenSSL 1.0.0d
  36. Berkeley DB 4.8.30.NC
  37. Boost 1.47.0
  38. miniupnpc 1.6
  39. Notes
  40. -----
  41. The UI layout is edited with wxFormBuilder. The project file is
  42. uiproject.fbp. It generates uibase.cpp and uibase.h, which define base
  43. classes that do the rote work of constructing all the UI elements.
  44. wxWidgets
  45. ---------
  46. DOS shell:
  47. cd \wxWidgets-2.9.2-mgw\build\msw
  48. mingw32-make -f makefile.gcc
  49. OpenSSL
  50. -------
  51. MSYS shell:
  52. un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
  53. change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
  54. cd /c/openssl-1.0.0d-mgw
  55. ./config
  56. make
  57. Berkeley DB
  58. -----------
  59. MSYS shell:
  60. cd /c/db-4.8.30.NC-mgw/build_unix
  61. sh ../dist/configure --enable-mingw --enable-cxx
  62. make
  63. Boost
  64. -----
  65. DOS prompt:
  66. downloaded boost jam 3.1.18
  67. cd \boost-1.47.0-mgw
  68. bjam toolset=gcc --build-type=complete stage
  69. MiniUPnPc
  70. ---------
  71. UPnP support is optional, make with USE_UPNP= to disable it.
  72. MSYS shell:
  73. cd /c/miniupnpc-1.6-mgw
  74. make -f Makefile.mingw
  75. mkdir miniupnpc
  76. cp *.h miniupnpc/
  77. Bitcoin
  78. -------
  79. DOS prompt:
  80. cd \bitcoin\src
  81. mingw32-make bitcoin.exe bitcoind.exe -f makefile.mingw
  82. strip bitcoin.exe
  83. strip bitcoind.exe