
使用OS X上的cgo到linux和windows进行1.5交叉编译
在将1.4.2升级到1.5后,我无法将OS X上的 git2go库编译为linux amd64. 我认为这是关于交叉编译任何使用C代码和go 1.5的应用程序. 使用CGO_ENABLED = 1,我得到: $CGO_ENABLED=1 GOOS=linux GOARCH=amd64 ./script/with-static.sh go install ./…# runtime/cg
在将1.4.2升级到1.5后,我无法将OS X上的 git2go库编译为linux amd64. 我认为这是关于交叉编译任何使用C代码和go 1.5的应用程序. 使用CGO_ENABLED = 1,我得到: $CGO_ENABLED=1 GOOS=linux GOARCH=amd64 ./script/with-static.sh go install ./…# runtime/cg