mining-pool / go-randomx

golang binding for random-x algorithm variants
BSD 3-Clause "New" or "Revised" License
20 stars 12 forks source link

Cross compiling for linx to windows #2

Open 0xffffa opened 1 week ago

0xffffa commented 1 week ago

I'm not the best with cross compilation but when compiling i run into the error

/usr/bin/x86_64-w64-mingw32-ld: cannot find -lhwloc: No such file or directory

I have compiled and downloaded the hwloc library but I'm having trouble adding it to my mingw32 linker on ubuntu how can I fix this?

c0mm4nd commented 4 days ago

I have answered on https://github.com/c0mm4nd/GxMiner/issues/12

https://github.com/techknowlogick/xgo might provide more help