zmq4 icon indicating copy to clipboard operation
zmq4 copied to clipboard

cross compile failed with go 1.6 for windows x64 on OSX10.11

Open monotone opened this issue 9 years ago • 1 comments

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'

monotone avatar May 18 '16 15:05 monotone

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

pebbe avatar May 18 '16 19:05 pebbe