Firstly, thanks for the work that has gone in to cpuminer. It worked great while so many other non-asic miners did not.
I got cross-compilation working for Windows from Linux and wanted to share the mechanism for that, in case others find it useful or you wanted to incorporate it as an alternative for direct compilation on Windows.
It likely needs some tweaks before I'd recommend using it for something like a release build, Eg. Pinning curl, and making sure the TLS support is correct if needed.
If you're interested in this and would rather I open a PR, just let me know where in the tree you'd want this.
Firstly, thanks for the work that has gone in to cpuminer. It worked great while so many other non-asic miners did not.
I got cross-compilation working for Windows from Linux and wanted to share the mechanism for that, in case others find it useful or you wanted to incorporate it as an alternative for direct compilation on Windows.
See here: https://github.com/efokschaner/holdcoin/blob/holdcoin/holdcoin/cpuminer/Dockerfile
It likely needs some tweaks before I'd recommend using it for something like a release build, Eg. Pinning curl, and making sure the TLS support is correct if needed.
If you're interested in this and would rather I open a PR, just let me know where in the tree you'd want this.
Thanks!