[CPU miner and windows how-to]The latest version of cpuminer is here:https://github.com/magi-project/magi-minerdThe 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
3) Mining
The compiled minerd lies in C:\cygwin64\home\USER\magi-minerd; Cygwin is a unix environment, so you have run the miner through console. Under magi-minerd folder:
Edit and save it; magi-minerd.sh is a file coming with the git source. Issue
If you cannot run it,
That's it!
I'm running this on Mac OS, I get this with the ./configure:
./configure: line 5937: syntax error near unexpected token `,'
./configure: line 5937: `LIBCURL_CHECK_CONFIG(, 7.10.1, ,'
make: make: *** No targets specified and no makefile found. Stop.