GOOS=linux GOARCH=amd64 go build go build github.com/ethereum/go-ethereum/crypto/secp256k1: build constraints exclude allGo files in /Users/mac/Documents/project/src/github.com/ethereum/go-ethereum/crypto/secp256k1
1条回答 默认 最新
duangu1033 2018-06-08 22:20关注Run the command with
CGO_ENABLED=1to enable the use of cgo when cross compiling.CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build解决 无用评论 打赏 举报