@echo off SET CGO_ENABLED=0 SET GOARCH=amd64 SET GOOS=linux set linuxpath=D:\run\linux echo "build linux ELF files" cd ./test go build cd .. pause