regarding windows compiles:
i have successfully gotten a build environment setup using the steps provided by
nicehash, credit to them.
personal notes/walkthrough:
1) get the first three GNUStep packages noted and install in this order:
msys,
core,
devel. The other three are not needed (just GUI stuff).
2) install
win-builds as noted, for me the installer always failed to download the packages/info so i got it working with the steps mentioned
here, that being:
- get the portable windows wget package
- run:
wget -r --no-parent --no-host-directories http://win-builds.org/1.5.0/packages/
- use C:\winbuilddir\1.5.0 in the win-builds installer as http mirror
and select plain C:\GNUStep as install dir (not C:\GNUStep\msys or something as noted in the nicehash guide), press "OK", and "Process" on the next Page when the Packages show up.
3) after the win-builds install is finished just execute C:\GNUStep\msys\1.0\msys.bat, set the PATH to include "/c/GNUstep/msys/1.0/opt/windows_64/bin/" by either doing
PATH="/c/GNUstep/msys/1.0/opt/windows_64/bin/:$PATH"
in the cmd window (it does not support copy/paste) or creating a file with the following content:
PATH="/c/GNUstep/msys/1.0/opt/windows_64/bin/:$PATH"
bash
and saving it as setPath.sh in C:\GNUstep\msys\1.0\home\USERNAME so you can easily execute it each time you want to build cpuminer-opt
Note: afaik it should also work by setting this in the windows system variables (permanently) so you dont need to enter/execute it each time, not tested though
4) now just change to your cpuminer-opt src and run winbuild.sh