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 +```