I am trying to learn Go and have installed Go MinGW but I cannot find out how to actually compile a .go file ANYWHERE. This is the program linked directly from the Go wiki for Windows Support, but all the tutorials talk about using 6g and gccgo etc. to compile and none of those work from my windows machine.
1条回答 默认 最新
- duanlang0025 2011-05-25 02:55关注
I'm dumb, the file linked is 32 bit and I was using "6g" to compile because my system is 64 bit. "8g" works to compile.
"8g myfile.go"
"8l myfile.8"
"myfile.out"
Works to get it running.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报