Commit 91a480c3 authored by Russ Cox's avatar Russ Cox

doc: add cmd/go's -pkgdir build option

Also use more consistent language for the new build options.

Change-Id: I88cbe200c13f452713be73d2e00337ddb793b8c6
Reviewed-on: https://go-review.googlesource.com/12172Reviewed-by: 's avatarRob Pike <r@golang.org>
parent b2cb3b41
......@@ -465,15 +465,16 @@ A new <code>cmd</code> wildcard covers the commands.
</li>
<li>
A new <code>-toolexec</code> flag for building
allows substitution of a different command to invoke
the compiler and so on.
This acts as a custom replacement for <code>go tool</code>.
A new <code>-asmflags</code> build option
sets flags to pass to the assembler.
However,
the <code>-ccflags</code> build option has been dropped;
it was specific to the old, now deleted C compiler .
</li>
<li>
The build subcommand has a <code>-buildmode</code> option tied to the linker,
as described above.
A new <code>-buildmode</code> build option
sets the build mode, described above.
</li>
<li>
......@@ -484,6 +485,19 @@ the <code>-ccflags</code> build option has been dropped;
it was specific to the old, now deleted C compiler .
</li>
<li>
A new <code>-pkgdir</code> build option
sets the location of installed package archives,
to help isolate custom builds.
</li>
<li>
A new <code>-toolexec</code> build option
allows substitution of a different command to invoke
the compiler and so on.
This acts as a custom replacement for <code>go tool</code>.
</li>
<li>
The <code>test</code> subcommand now has a <code>-count</code>
flag to specify how many times to run each test and benchmark.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment