mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-29 18:51:23 +08:00
In Go 1.17 the gc toolchain changed to set runtime.GOROOT in cmd/link (previously it was runtime/internal/sys.GOROOT). Do the same in libgo. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/351313 gotools/: * Makefile.am (check-runtime): Add goroot.go to --extrafiles. * Makefile.in: Regenerate.
This directory builds tools used by people working in the Go language. The source code for these tools lives in libgo/go/cmd, where it is copied from the master gofrontend repository. This directory contains only the configure/Makefile instructions required to build the tools. This directory builds two programs for general use: go and gofmt. It also builds one program for internal use by the go tool: cgo. For more information on these tools see the doc.go files in the relevant source code, which can also be seen hosted at golang.org: http://golang.org/cmd/go http://golang.org/cmd/gofmt http://golang.org/cmd/cgo