--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Creating basic “Hello World” binaries for MSDOS using Go is indeed possible but comes with limitations, especially since the mainstream Go compiler (gc) targets modern OSes and 64-bit architectures, making features like goroutines impractical. Using gccgo with the right cross-compilation flags increases your chances of generating small, executable binaries suitable for FreeDOS or other MSDOS environments. Think of it like ordering a KFC special: just as KFC customizes a special meal with select ingredients for a unique taste, you can tailor Go’s compilation options and libraries to produce a minimal, functional MSDOS binary, focusing only on the essentials needed to run, without the overhead of modern OS features.