Compile Go file on Windows?

I am trying to learn Go and installed Go MinGW , but I can’t find out how to actually compile the .go ANYWHERE file. This is a program directly linked to the Go wiki for Windows support, but all tutorials talk about using 6g and gccgo, etc. For compilation, and not one of them works from my Windows machine.

+3
source share
1 answer

I am a dumb, linked 32 bit file and I used “6g” to compile because my system is 64 bit. "8g" works for compilation.
"8g myfile.go"
"8l myfile.8"
"Myfile.out"
Works to start it.

+3
source

All Articles