From a5f1b2c82334a2ae93b8c33ddc8ba707ea1f6d46 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 13 Apr 2017 15:04:26 -0400 Subject: [PATCH] Created Bulding for Windows (MSYS) (markdown) --- Bulding-for-Windows-(MSYS).md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Bulding-for-Windows-(MSYS).md diff --git a/Bulding-for-Windows-(MSYS).md b/Bulding-for-Windows-(MSYS).md new file mode 100644 index 0000000..04ee26b --- /dev/null +++ b/Bulding-for-Windows-(MSYS).md @@ -0,0 +1,21 @@ +Get install file `msys2-$ARCH-*.exe` from `https://msys2.github.io` + +Where $ARCH is `i686` or `x86_64` (matching your system). + +- Open MSYS2 Shell (from Start menu). +- Install all prerequisites: + + export ARCH='i686' # or 'x86_64' + export MINGW='mingw32' # or 'mingw64' + pacman -S mingw-w64-$ARCH-boost mingw-w64-$ARCH-openssl mingw-w64-$ARCH-gcc git make + +- Build gostcoin + mkdir -p /c/dev/gostcoin + cd /c/dev/gostcoin + git clone https://github.com/GOSTSec/gostcoin.git + # we need compiler on PATH which is usually heavily cluttered on Windows + export PATH=/$MINGW/bin:/usr/bin + cd gostcoin/i2psam + make -f makefile.mingw + cd ../src + make -f makefile.mingw