cgo: add basic gccgo support.

R=rsc, iant
CC=golang-dev, remy
https://golang.org/cl/5485070
This commit is contained in:
Rémy Oudompheng 2011-12-14 15:40:35 -08:00 committed by Ian Lance Taylor
parent d89b7173c2
commit 076ebed0d8
2 changed files with 56 additions and 3 deletions

View file

@ -130,6 +130,8 @@ var dynobj = flag.String("dynimport", "", "if non-empty, print dynamic import da
var godefs = flag.Bool("godefs", false, "for bootstrap: write Go definitions for C file to standard output")
var cdefs = flag.Bool("cdefs", false, "for bootstrap: write C definitions for C file to standard output")
var gccgo = flag.Bool("gccgo", false, "generate files for use with gccgo")
var goarch, goos string
func main() {