Changed to gccgo, TODO: convert main.go