./autogen.sh
./configure
make
If you are just compiling for yourself I would recommend a small change
./configure CFLAGS="-O3 -march=native" CXXFLAGS="-O3 -march=native"
This will optimize the binary as much as possible for your particular processor.
If the miner uses openssl for sha and aes, like the wallet miner, it doesn't make a difference.
BTW -Ofast usually brings a little improvement over -O3.
Yep, that can be worth trying, though it can create problems as well as it breaks standards compliance. In this case I did not see any noticeable performance difference so I did not bother.
I have uploaded a new Windows binary for the poor souls still stuck with it,
https://hodl.blockquarry.com/downloads/hodlminer.zipIt should be much faster, though we welcome other people optimizing things. Make sure you compile with some sort of optimization otherwise your miner will be slower than the wallet.
miner.bat:
hodlminer.exe -a hodl -o http://172.0.0.1:8332 -u xxx -p xxx
Should work, right? Maybe it is because when I installed I set the data directory to a different hard disk?
It is 127, not 172. Something like this is what you are looking for:
hodlminer.exe -a hodl -o http://127.0.0.1:8332 -u xxx -p xxx --no-getwork --coinbase-addr=HM8kWC4G3q5dy3UjffAgTbJkJPFigEM53Z