]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] cmd/go: adjust go, cgo builds & disable cc
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 06:27:55 +0000 (01:27 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 06:27:55 +0000 (01:27 -0500)
commit729847cf8a8db1c5d64f64539be4f641985e613f
tree8d4d11ca69be08ec5d81f0a95c18718fa6a1b46a
parentfd2bc95d533aa909224310bcc221ed2cc21433bc
[dev.cc] cmd/go: adjust go, cgo builds & disable cc

[This CL is part of the removal of C code from package runtime.
See golang.org/s/dev.cc for an overview.]

Make gcToolchain.cc return an error (no C compiler!).

Adjust expectations of cgo, now that cgo does not write any C files
(no C compiler!).

For packages with .s files, invoke Go compiler with -asmhdr go_asm.h
so that assembly files can use it. This applies to all packages but is only
needed today by package runtime.

LGTM=r
R=r
CC=austin, golang-codereviews, iant, khr
https://golang.org/cl/171470043
src/cmd/go/build.go