diff options
author | Rob Pike <r@golang.org> | 2015-07-05 10:43:34 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2015-07-05 06:25:51 +0000 |
commit | 173fa1d8093409eb6a409f4e3196c7d334c10c48 (patch) | |
tree | 76c6b71a952397c3fcb1ed879f2a901d837f7158 | |
parent | 71832ff489fdca6f41fe5f5bc8ca56976c7fc5aa (diff) | |
download | go-173fa1d8093409eb6a409f4e3196c7d334c10c48.tar.gz go-173fa1d8093409eb6a409f4e3196c7d334c10c48.zip |
cmd/go: delete references to old tools (5a etc.) from cmd/go docs
Don't talk about commands that no longer exist.
There are still references throughout the tree, mostly in comments,
but they provide a charming historical backdrop for the idle tourist.
Change-Id: I637ebdce05bbc7df5addcc46cb772d2bb9f3e073
Reviewed-on: https://go-review.googlesource.com/11885
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/cmd/go/alldocs.go | 18 | ||||
-rw-r--r-- | src/cmd/go/build.go | 6 | ||||
-rw-r--r-- | src/cmd/go/help.go | 12 |
3 files changed, 16 insertions, 20 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index f4dfed474d..1a021fa44d 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -122,9 +122,9 @@ and test commands: For more information about build tags, see the description of build constraints in the documentation for the go/build package. -toolexec 'cmd args' - a program to use to invoke toolchain programs like 5a, 5g, and 5l. - For example, instead of running 5g, the go command will run - 'cmd args /path/to/5g <arguments for 5g>'. + a program to use to invoke toolchain programs like vet and asm. + For example, instead of running asm, the go command will run + 'cmd args /path/to/asm <arguments for asm>'. The list flags accept a space-separated list of strings. To embed spaces in an element in the list, surround it with either single or double quotes. @@ -785,10 +785,9 @@ the extension of the file name. These extensions are: Go source files. .c, .h C source files. - If the package uses cgo, these will be compiled with the - OS-native compiler (typically gcc); otherwise they will be - compiled with the Go-specific support compiler, - 5c, 6c, or 8c, etc. as appropriate. + If the package uses cgo or SWIG, these will be compiled with the + OS-native compiler (typically gcc); otherwise they will + trigger an error. .cc, .cpp, .cxx, .hh, .hpp, .hxx C++ source files. Only useful with cgo or SWIG, and always compiled with the OS-native compiler. @@ -797,10 +796,9 @@ the extension of the file name. These extensions are: compiled with the OS-native compiler. .s, .S Assembler source files. - If the package uses cgo, these will be assembled with the + If the package uses cgo or SWIG, these will be assembled with the OS-native assembler (typically gcc (sic)); otherwise they - will be assembled with the Go-specific support assembler, - 5a, 6a, or 8a, etc., as appropriate. + will be assembled with the Go assembler. .swig, .swigcxx SWIG definition files. .syso diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go index f324163180..637198edd6 100644 --- a/src/cmd/go/build.go +++ b/src/cmd/go/build.go @@ -102,9 +102,9 @@ and test commands: For more information about build tags, see the description of build constraints in the documentation for the go/build package. -toolexec 'cmd args' - a program to use to invoke toolchain programs like 5a, 5g, and 5l. - For example, instead of running 5g, the go command will run - 'cmd args /path/to/5g <arguments for 5g>'. + a program to use to invoke toolchain programs like vet and asm. + For example, instead of running asm, the go command will run + 'cmd args /path/to/asm <arguments for asm>'. The list flags accept a space-separated list of strings. To embed spaces in an element in the list, surround it with either single or double quotes. diff --git a/src/cmd/go/help.go b/src/cmd/go/help.go index 49454e5023..cd71ade5c2 100644 --- a/src/cmd/go/help.go +++ b/src/cmd/go/help.go @@ -338,10 +338,9 @@ the extension of the file name. These extensions are: Go source files. .c, .h C source files. - If the package uses cgo, these will be compiled with the - OS-native compiler (typically gcc); otherwise they will be - compiled with the Go-specific support compiler, - 5c, 6c, or 8c, etc. as appropriate. + If the package uses cgo or SWIG, these will be compiled with the + OS-native compiler (typically gcc); otherwise they will + trigger an error. .cc, .cpp, .cxx, .hh, .hpp, .hxx C++ source files. Only useful with cgo or SWIG, and always compiled with the OS-native compiler. @@ -350,10 +349,9 @@ the extension of the file name. These extensions are: compiled with the OS-native compiler. .s, .S Assembler source files. - If the package uses cgo, these will be assembled with the + If the package uses cgo or SWIG, these will be assembled with the OS-native assembler (typically gcc (sic)); otherwise they - will be assembled with the Go-specific support assembler, - 5a, 6a, or 8a, etc., as appropriate. + will be assembled with the Go assembler. .swig, .swigcxx SWIG definition files. .syso |