doc: replace references to {5..9}{g,l} with go tool compile and go tool link

I updated some references to 6g, 6l and friends that I came across, as those
programs don't exist anymore. I also fixed some echos in make.rc to match other make.* scripts while I was there.

Change-Id: Ib84532cd4688cf65174dd9869e5d42af98a20a48
Reviewed-on: https://go-review.googlesource.com/11162
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Jeremy Jackins 2015-05-28 16:13:23 +09:00 committed by Ian Lance Taylor
parent b03129aa27
commit 7354978950
5 changed files with 15 additions and 15 deletions

View File

@ -106,7 +106,7 @@ and test commands:
-gccgoflags 'arg list' -gccgoflags 'arg list'
arguments to pass on each gccgo compiler/linker invocation. arguments to pass on each gccgo compiler/linker invocation.
-gcflags 'arg list' -gcflags 'arg list'
arguments to pass on each 5g, 6g, 8g, or 9g compiler invocation. arguments to pass on each go tool compile invocation.
-installsuffix suffix -installsuffix suffix
a suffix to use in the name of the package installation directory, a suffix to use in the name of the package installation directory,
in order to keep output separate from default builds. in order to keep output separate from default builds.
@ -114,9 +114,9 @@ and test commands:
or, if set explicitly, has _race appended to it. Using a -buildmode or, if set explicitly, has _race appended to it. Using a -buildmode
option that requires non-default compile flags has a similar effect. option that requires non-default compile flags has a similar effect.
-ldflags 'flag list' -ldflags 'flag list'
arguments to pass on each 5l, 6l, 8l, or 9l linker invocation. arguments to pass on each go tool link invocation.
-asmflags 'flag list' -asmflags 'flag list'
arguments to pass on each asm assembler invocation. arguments to pass on each go tool asm invocation.
-tags 'tag list' -tags 'tag list'
a list of build tags to consider satisfied during the build. a list of build tags to consider satisfied during the build.
For more information about build tags, see the description of For more information about build tags, see the description of

View File

@ -86,7 +86,7 @@ and test commands:
-gccgoflags 'arg list' -gccgoflags 'arg list'
arguments to pass on each gccgo compiler/linker invocation. arguments to pass on each gccgo compiler/linker invocation.
-gcflags 'arg list' -gcflags 'arg list'
arguments to pass on each 5g, 6g, 8g, or 9g compiler invocation. arguments to pass on each go tool compile invocation.
-installsuffix suffix -installsuffix suffix
a suffix to use in the name of the package installation directory, a suffix to use in the name of the package installation directory,
in order to keep output separate from default builds. in order to keep output separate from default builds.
@ -94,9 +94,9 @@ and test commands:
or, if set explicitly, has _race appended to it. Using a -buildmode or, if set explicitly, has _race appended to it. Using a -buildmode
option that requires non-default compile flags has a similar effect. option that requires non-default compile flags has a similar effect.
-ldflags 'flag list' -ldflags 'flag list'
arguments to pass on each 5l, 6l, 8l, or 9l linker invocation. arguments to pass on each go tool link invocation.
-asmflags 'flag list' -asmflags 'flag list'
arguments to pass on each asm assembler invocation. arguments to pass on each go tool asm invocation.
-tags 'tag list' -tags 'tag list'
a list of build tags to consider satisfied during the build. a list of build tags to consider satisfied during the build.
For more information about build tags, see the description of For more information about build tags, see the description of

View File

@ -19,10 +19,10 @@
# #
# GOOS: The target operating system for installed packages and tools. # GOOS: The target operating system for installed packages and tools.
# #
# GO_GCFLAGS: Additional 5g/6g/8g arguments to use when # GO_GCFLAGS: Additional go tool compile arguments to use when
# building the packages and commands. # building the packages and commands.
# #
# GO_LDFLAGS: Additional 5l/6l/8l arguments to use when # GO_LDFLAGS: Additional go tool link arguments to use when
# building the commands. # building the commands.
# #
# CGO_ENABLED: Controls cgo usage during the build. Set it to 1 # CGO_ENABLED: Controls cgo usage during the build. Set it to 1

View File

@ -16,10 +16,10 @@
:: ::
:: GOOS: The target operating system for installed packages and tools. :: GOOS: The target operating system for installed packages and tools.
:: ::
:: GO_GCFLAGS: Additional 5g/6g/8g arguments to use when :: GO_GCFLAGS: Additional go tool compile arguments to use when
:: building the packages and commands. :: building the packages and commands.
:: ::
:: GO_LDFLAGS: Additional 5l/6l/8l arguments to use when :: GO_LDFLAGS: Additional go tool link arguments to use when
:: building the commands. :: building the commands.
:: ::
:: CGO_ENABLED: Controls cgo usage during the build. Set it to 1 :: CGO_ENABLED: Controls cgo usage during the build. Set it to 1

View File

@ -19,10 +19,10 @@
# #
# GOOS: The target operating system for installed packages and tools. # GOOS: The target operating system for installed packages and tools.
# #
# GO_GCFLAGS: Additional 5g/6g/8g arguments to use when # GO_GCFLAGS: Additional go tool compile arguments to use when
# building the packages and commands. # building the packages and commands.
# #
# GO_LDFLAGS: Additional 5l/6l/8l arguments to use when # GO_LDFLAGS: Additional go tool link arguments to use when
# building the commands. # building the commands.
# #
# CGO_ENABLED: Controls cgo usage during the build. Set it to 1 # CGO_ENABLED: Controls cgo usage during the build. Set it to 1
@ -41,7 +41,7 @@ rm -f ./runtime/runtime_defs.go
# Determine the host compiler toolchain. # Determine the host compiler toolchain.
eval `{grep '^(CC|LD|O)=' /$objtype/mkfile} eval `{grep '^(CC|LD|O)=' /$objtype/mkfile}
echo '# Building Go bootstrap tool.' echo '##### Building Go bootstrap tool.'
echo cmd/dist echo cmd/dist
GOROOT = `{cd .. && pwd} GOROOT = `{cd .. && pwd}
if(! ~ $#GOROOT_BOOTSTRAP 1) if(! ~ $#GOROOT_BOOTSTRAP 1)
@ -79,13 +79,13 @@ if(~ $sysname vx32)
pflag = (-p 1) pflag = (-p 1)
if(! ~ $GOHOSTARCH $GOARCH || ! ~ $GOHOSTOS $GOOS){ if(! ~ $GOHOSTARCH $GOARCH || ! ~ $GOHOSTOS $GOOS){
echo '# Building packages and commands for host,' $GOHOSTOS/$GOHOSTARCH^. echo '##### Building packages and commands for host,' $GOHOSTOS/$GOHOSTARCH^.
GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \ GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
$GOTOOLDIR/go_bootstrap install -gcflags $"GO_GCFLAGS -ldflags $"GO_LDFLAGS -v $pflag std cmd $GOTOOLDIR/go_bootstrap install -gcflags $"GO_GCFLAGS -ldflags $"GO_LDFLAGS -v $pflag std cmd
echo echo
} }
echo '# Building packages and commands for' $GOOS/$GOARCH^. echo '##### Building packages and commands for' $GOOS/$GOARCH^.
$GOTOOLDIR/go_bootstrap install -gcflags $"GO_GCFLAGS -ldflags $"GO_LDFLAGS -v $pflag std cmd $GOTOOLDIR/go_bootstrap install -gcflags $"GO_GCFLAGS -ldflags $"GO_LDFLAGS -v $pflag std cmd
echo echo