zmq4
zmq4 copied to clipboard
cross compile failed with go 1.6 for windows x64 on OSX10.11
Hi, I could cross compile success for other GO library. But when I cross compile for this library, it failed.
✘ ~/code/go/src/github.com/pebbe/zmq4 master GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build
# runtime/cgo
clang: error: unknown argument: '-mthreads'
I have no experience with crosscompiling with C source. Perhaps someone on golang-nuts can help you:
https://groups.google.com/forum/m/#!forum/golang-nuts