Research
Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateeCash.com
Bitcoin v0.2.0 · 2009-12-16

build-msw.txt

91 lines · plain text · GitHub · MIT license (license.txt)
1Bitcoin v0.2.0 BETA23Copyright (c) 2009 Satoshi Nakamoto4Distributed under the MIT/X11 software license, see the accompanying5file license.txt or http://www.opensource.org/licenses/mit-license.php.6This product includes software developed by the OpenSSL Project for use in7the OpenSSL Toolkit (http://www.openssl.org/).  This product includes8cryptographic software written by Eric Young (eay@cryptsoft.com).91011WINDOWS BUILD NOTES12===================1314Compilers Supported15-------------------16MinGW GCC17Microsoft Visual C++ 6.0 SP6181920Dependencies21------------22Libraries you need to download separately and build:2324              default path   download25wxWidgets      \wxwidgets     http://www.wxwidgets.org/downloads/26                                or prebuilt: http://wxpack.sourceforge.net27OpenSSL        \openssl       http://www.openssl.org/source/28Berkeley DB    \db            http://www.oracle.com/technology/software/products/berkeley-db/index.html29Boost          \boost         http://www.boost.org/users/download/3031Their licenses:32wxWidgets      LGPL 2.1 with very liberal exceptions33OpenSSL        Old BSD license with the problematic advertising requirement34Berkeley DB    New BSD license with additional requirement that linked software must be free open source35Boost          MIT-like license3637Versions used in this release:38MinGW GCC    3.4.539wxWidgets    2.8.940OpenSSL      0.9.8k41Berkeley DB  4.7.25.NC42Boost        1.34.1434445Notes46-----47The UI layout is edited with wxFormBuilder.  The project file is48uiproject.fbp.  It generates uibase.cpp and uibase.h, which define base49classes that do the rote work of constructing all the UI elements.5051The release is built with GCC and then "strip bitcoin.exe" to strip the debug52symbols, which reduces the executable size by about 90%.535455OpenSSL56-------57Bitcoin does not use any encryption.  If you want to do a no-everything58build of OpenSSL to exclude encryption routines, a few patches are required.59(instructions for OpenSSL v0.9.8k)6061Edit engines\e_gmp.c and engines\e_capi.c and add this #ifndef around62the openssl/rsa.h include:63  #ifndef OPENSSL_NO_RSA64  #include <openssl/rsa.h>65  #endif6667Edit ms\mingw32.bat and replace the Configure line's parameters with this68no-everything list.  You have to put this in the batch file because batch69files can't take more than nine command line parameters.70  perl Configure mingw threads no-rc2 no-rc4 no-rc5 no-idea no-des no-bf no-cast no-aes no-camellia no-seed no-rsa no-dh7172Also REM out the following line in ms\mingw32.bat after the mingw32-make73line.  The build fails after it's already finished building libeay32, which74is all we care about, but the failure aborts the script before it runs75dllwrap to generate libeay32.dll.76  REM  if errorlevel 1 goto end7778Build79  cd \openssl80  ms\mingw32.bat8182If you want to use it with MSVC, generate the .lib file83  lib /machine:i386 /def:ms\libeay32.def /out:out\libeay32.lib848586Berkeley DB87-----------88Using MinGW and MSYS:89cd \db\build_unix90sh ../dist/configure --enable-mingw --enable-cxx91make

Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.

0:000:00