]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fixes to gccgo support
authorIan Lance Taylor <iant@golang.org>
Thu, 1 Nov 2012 18:13:50 +0000 (11:13 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 1 Nov 2012 18:13:50 +0000 (11:13 -0700)
commitf284a3ff4d525da4fb1dff6580588cabdbeab423
treef3f14c6c39f01a7a521b70e68c315825cd807b69
parentf07f9de8ec65763498410bb3c8778a87317278aa
cmd/go: fixes to gccgo support

* Use -fgo-pkgpath and -gccgopkgpath rather than -fgo-prefix
  and -gccgoprefix.
* Define GOPKGPATH when compiling .c or .s files for gccgo.
* Use -fgo-relative-import-path.
* Produce .o files for gccgo, not .[568] files.
* Pass -E when linking if using cgo.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6820064
src/cmd/go/build.go