I decided to give Go a try, and thus wrote the following bit of code:
package main
import "fmt"
func main() {
fmt.Printf("Hello, World\n")
}
I saved that under main.go
, and then tried to compile it using gccgo main.go -o main
. This worked. However, when I tried ./main
, I got the following message:
no debug info in ELF executable errno -1
fatal error: no debug info in ELF executable
runtime stack:
no debug info in ELF executable errno -1
panic during panic
What on earth happened?