windows下生成go的全平台交叉版本

来源:转载

allplatform.cmd

:: darwin/386 darwin/amd64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm windows/386 windows/amd64call compileplatform.cmd darwin 386call compileplatform.cmd darwin amd64 call compileplatform.cmd freebsd 386 call compileplatform.cmd freebsd amd64 call compileplatform.cmd freebsd arm call compileplatform.cmd linux 386 call compileplatform.cmd linux amd64 call compileplatform.cmd linux arm call compileplatform.cmd windows 386 call compileplatform.cmd windows amd64

compileplatform.cmd

set GOOS=%1set GOARCH=%2./make.bat --no-clean

版权声明:本文为博主原创文章,未经博主允许不得转载。

分享给朋友:
您可能感兴趣的文章:
随机阅读: