Message ID | CAFULd4YevXvfn3E_3gaWos0kfpWh8q=ci=b3JXJNi4tV8PhbmA@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Wed, Jan 14, 2015 at 11:07 AM, Uros Bizjak <ubizjak@gmail.com> wrote: > >> This patch adds support to the GCC tree for building tools that are >> used with Go. There are two external used tools (go, gofmt) and one >> tool used internally by go (cgo). This patch is pure machinery, with >> no source code. The tools are not built by default, only when go is >> enabled using --enable-languages. For the moment the tools are also >> not built when building a cross-compiler, although I hope to change >> that when I figure out what is needed. > > Attached is the patch that enables gotools on alpha/linux. > > Tested on alpha-linux-gnu, cgo, go and gofmt executables run without problems. Thanks. Committed. Ian
Index: go/go/build/build.go =================================================================== --- go/go/build/build.go (revision 219515) +++ go/go/build/build.go (working copy) @@ -266,6 +266,7 @@ var cgoEnabled = map[string]bool{ "freebsd/amd64": true, "freebsd/arm": true, "linux/386": true, + "linux/alpha": true, "linux/amd64": true, "linux/arm": true, "linux/ppc64": true,