renamed build.txt to build-msw.txt
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>
Wed, 4 Nov 2009 04:58:46 +0000 (04:58 +0000)
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>
Wed, 4 Nov 2009 04:58:46 +0000 (04:58 +0000)
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@28 1a98c847-1fd6-4fd8-948a-caf3550aa51b

build-msw.txt [new file with mode: 0644]

diff --git a/build-msw.txt b/build-msw.txt
new file mode 100644 (file)
index 0000000..eb6348b
--- /dev/null
@@ -0,0 +1,91 @@
+Bitcoin v0.2.0 BETA\r
+\r
+Copyright (c) 2009 Satoshi Nakamoto\r
+Distributed under the MIT/X11 software license, see the accompanying\r
+file license.txt or http://www.opensource.org/licenses/mit-license.php.\r
+This product includes software developed by the OpenSSL Project for use in\r
+the OpenSSL Toolkit (http://www.openssl.org/).  This product includes\r
+cryptographic software written by Eric Young (eay@cryptsoft.com).\r
+\r
+\r
+ WINDOWS BUILD NOTES\r
+\r
+\r
+Compilers Supported\r
+-------------------\r
+MinGW GCC\r
+Microsoft Visual C++ 6.0 SP6\r
+\r
+\r
+Dependencies\r
+------------\r
+Libraries you need to obtain separately to build:\r
+\r
+              default path   download\r
+wxWidgets      \wxwidgets     http://www.wxwidgets.org/downloads/\r
+                                or prebuilt: http://wxpack.sourceforge.net\r
+OpenSSL        \openssl       http://www.openssl.org/source/\r
+Berkeley DB    \db            http://www.oracle.com/technology/software/products/berkeley-db/index.html\r
+Boost          \boost         http://www.boost.org/users/download/\r
+\r
+Their licenses:\r
+wxWidgets      LGPL 2.1 with very liberal exceptions\r
+OpenSSL        Old BSD license with the problematic advertising requirement\r
+Berkeley DB    New BSD license with additional requirement that linked software must be free open source\r
+Boost          MIT-like license\r
+\r
+Versions used in this release:\r
+MinGW GCC    3.4.5\r
+wxWidgets    2.8.9\r
+OpenSSL      0.9.8k\r
+Berkeley DB  4.7.25.NC\r
+Boost        1.34.1\r
+\r
+\r
+Notes\r
+-----\r
+The UI layout is edited with wxFormBuilder.  Open the project file\r
+uiproject.fbp.  It generates uibase.cpp and uibase.h, which define base\r
+classes that do the rote work of constructing all the UI elements.\r
+\r
+The release is built with GCC and then "strip bitcoin.exe" to strip the debug\r
+symbols, which reduces the executable size by about 90%.\r
+\r
+\r
+OpenSSL\r
+-------\r
+Bitcoin does not use any encryption.  If you want to do a no-everything\r
+build of OpenSSL to exclude encryption routines, a few patches are required.\r
+(instructions for OpenSSL v0.9.8k)\r
+\r
+Edit engines\e_gmp.c and engines\e_capi.c and add this #ifndef around\r
+the openssl/rsa.h include:\r
+  #ifndef OPENSSL_NO_RSA\r
+  #include <openssl/rsa.h>\r
+  #endif\r
+\r
+Edit ms\mingw32.bat and replace the Configure line's parameters with this\r
+no-everything list.  You have to put this in the batch file because batch\r
+files can't take more than nine command line parameters.\r
+  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-dh\r
+\r
+Also REM out the following line in ms\mingw32.bat after the mingw32-make\r
+line.  The build fails after it's already finished building libeay32, which\r
+is all we care about, but the failure aborts the script before it runs\r
+dllwrap to generate libeay32.dll.\r
+  REM  if errorlevel 1 goto end\r
+\r
+Build\r
+  cd \openssl\r
+  ms\mingw32.bat\r
+\r
+If you want to use it with MSVC, generate the .lib file\r
+  lib /machine:i386 /def:ms\libeay32.def /out:out\libeay32.lib\r
+\r
+\r
+Berkeley DB\r
+-----------\r
+Using MinGW and MSYS:\r
+cd \db\build_unix\r
+sh ../dist/configure --enable-mingw --enable-cxx\r
+make\r