From fe5c08d92764878408d47a75d71c52c4302e67f7 Mon Sep 17 00:00:00 2001 From: J Ross Nicoll Date: Thu, 27 Mar 2014 21:04:05 +0000 Subject: [PATCH] Added details of where include and library files should be installed for Windows build process. --- doc/build-msw.md | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/doc/build-msw.md b/doc/build-msw.md index 8845207e6..a4324523c 100644 --- a/doc/build-msw.md +++ b/doc/build-msw.md @@ -4,13 +4,21 @@ WINDOWS BUILD NOTES Compilers Supported ------------------- -TODO: What works? -Note: releases are cross-compiled using mingw running on Linux. +Compilation under Windows is supported using MinGW (http://www.mingw.org/) Dependencies ------------ -Libraries you need to download separately and build: +To build Dogecoin for Windows, there are number of libraries you need to download +separately and build. Note that, for those used to a Linux/UNIX background, the search +paths for include files is not the conventional UNIX directories, see +http://www.mingw.org/wiki/IncludePathHOWTO for more details. Library files can be placed +in the more conventional /usr/local/lib directory, but see +http://www.mingw.org/wiki/HOWTO_Specify_the_Location_of_Libraries_for_use_with_MinGW in +case of difficulties. + +In both cases, include and library files will need to be placed in the relevant directories +for the build process to succeed. name default path download -------------------------------------------------------------------------------------------------------------------- @@ -65,13 +73,20 @@ MSYS shell: sh ../dist/configure --enable-mingw --enable-cxx make +Include and library files files should then be placed into MinGW search paths, for example: + +Include: C:\MinGW\lib\gcc\mingw32\4.8.1\include\c++\db4.8 +Library: C:\MinGW\lib + Boost ----- -MS-DOS shell: +MSYS shell: - cd boost_1_55_0\ - bootstrap.bat mingw - b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc stage + cd boost_1_55_0/tools/build/v2/engine + ./build.sh mingw + cp bin.ntx86/bjam.exe ../../../../ + cd ../../../../ + bjam --toolset=gcc MiniUPnPc --------- @@ -88,8 +103,8 @@ Dogecoin ------- MSYS shell: - cd \dogecoin - sh autogen.sh - sh configure + dogecoin + ./autogen.sh + configure mingw32-make strip dogecoind.exe