From 5b6d6c704602c839d7a742b428177529058f9420 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 10 Oct 2017 21:41:11 +0300 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4a40a31..db54506 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,20 @@ -Build for Windows: -1. Install MSYS2 -2. Inside MSYS2's window install packages. pacman -S mingw-w64-i686-gcc mingw-w64-i686-jansson git make -3. Obtain a copy of this repository. git clone https://github.com/GOSTSec/gostoclminer.git -4. export PATH=/mingw32/bin:/usr/bin; cd gostoclminer; make -f Makefile.mingw +Build for Windows: +1. Install [MSYS2](http://www.msys2.org/) +2. Inside **MSYS2 MinGW 32-bit** terminal install packages +```bash +$ pacman -S mingw-w64-i686-gcc mingw-w64-i686-jansson git make +``` +3. Obtain a copy of this repository +```bash +$ git clone https://github.com/GOSTSec/gostoclminer.git +$ cd gostoclminer +``` +4. Build gostclminer +```bash +$ make -f Makefile.mingw +``` -Run: -gostoclminer --url http://127.0.0.1:9376 --userpass "your RPC user":"your RPC password" +Run: +```bash +$ gostoclminer --url http://127.0.0.1:9376 --userpass "your RPC user":"your RPC password" -i 16 +```