Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

build-msw.txt 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Copyright (c) 2009-2012 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. See readme-qt.rst for instructions on building Bitcoin-Qt, the
  9. graphical user interface.
  10. WINDOWS BUILD NOTES
  11. ===================
  12. Compilers Supported
  13. -------------------
  14. TODO: What works?
  15. Note: releases are cross-compiled using mingw running on Linux.
  16. Dependencies
  17. ------------
  18. Libraries you need to download separately and build:
  19. default path download
  20. OpenSSL \openssl-1.0.1d-mgw http://www.openssl.org/source/
  21. Berkeley DB \db-4.8.30.NC-mgw http://www.oracle.com/technology/software/products/berkeley-db/index.html
  22. Boost \boost-1.47.0-mgw http://www.boost.org/users/download/
  23. miniupnpc \miniupnpc-1.6-mgw http://miniupnp.tuxfamily.org/files/
  24. Their licenses:
  25. OpenSSL Old BSD license with the problematic advertising requirement
  26. Berkeley DB New BSD license with additional requirement that linked software must be free open source
  27. Boost MIT-like license
  28. miniupnpc New (3-clause) BSD license
  29. Versions used in this release:
  30. OpenSSL 1.0.1d
  31. Berkeley DB 4.8.30.NC
  32. Boost 1.47.0
  33. miniupnpc 1.6
  34. OpenSSL
  35. -------
  36. MSYS shell:
  37. un-tar sources with MSYS 'tar xfz' to avoid issue with symlinks (OpenSSL ticket 2377)
  38. change 'MAKE' env. variable from 'C:\MinGW32\bin\mingw32-make.exe' to '/c/MinGW32/bin/mingw32-make.exe'
  39. cd /c/openssl-1.0.1d-mgw
  40. ./config
  41. make
  42. Berkeley DB
  43. -----------
  44. MSYS shell:
  45. cd /c/db-4.8.30.NC-mgw/build_unix
  46. sh ../dist/configure --enable-mingw --enable-cxx
  47. make
  48. Boost
  49. -----
  50. DOS prompt:
  51. downloaded boost jam 3.1.18
  52. cd \boost-1.47.0-mgw
  53. bjam toolset=gcc --build-type=complete stage
  54. MiniUPnPc
  55. ---------
  56. UPnP support is optional, make with USE_UPNP= to disable it.
  57. MSYS shell:
  58. cd /c/miniupnpc-1.6-mgw
  59. make -f Makefile.mingw
  60. mkdir miniupnpc
  61. cp *.h miniupnpc/
  62. Bitcoin
  63. -------
  64. DOS prompt:
  65. cd \bitcoin\src
  66. mingw32-make -f makefile.mingw
  67. strip bitcoind.exe