[CPU miner windows how-to - Cygwin]Download cpuminer source code and compile:https://github.com/noncepool/m7m-cpuminer (pool mining)
https://github.com/magi-project/magi-minerd (solo mining)
The following guide is for compiling though cygwin in windows. testz did the standalone windows compilation before, I will ask him again for help.
1) Compile cpuminer in cygwin
Download setup-x86_64.exe (or setup-x86_32.exe) from the first page of
https://www.cygwin.com, and then install it; installation asks for installing packages, be sure following are checked:
devel/git
devel/gcc-g++
devel/gcc-fortran
libs/libcurl-devel
devel/automake
devel/make
net/openssl-devel
math/libgmp-devel
editors/nano
2) Open up Cygwin64 Terminal, issue following commands
git clone https://github.com/magi-project/magi-minerd
cd magi-minerd
./autogen.sh
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native" ./configure
make
The compiled minerd lies in C:\cygwin64\home\USER\magi-minerd; Cygwin is a unix environment, so you have run the miner through console.
3) Solo mining
./minerd.exe --url http://127.0.0.1:8232 --user rpcuser --pass rpcpass --threads <number of threads>
8232 is rpcport, rpcuser and rpcpass are user and password you set in magi.conf
set <number of threads> to a number, matching with the threads of your needs.
4) Pool mining
Typical command
./minerd.exe -o stratum+tcp://pool:port -u <username> -p <password> -t <number of threads>
Exampe,
Nonce-pool:
./minerd.exe -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username> -p <password> -t <number of threads>
Suprnova pool:
./minerd.exe -o stratum+tcp://xmg.suprnova.cc:7127 -u <username> -p <password> -t <number of threads>
set <username> and <password> which should match with your setup in the pool; go to pool site for detail information.
You can use following scrypt file; if you don't know how, simple run from above command line:
Edit and save it; magi-minerd.sh is a file coming with the git source. Issue
If you cannot run it,
That's it!