Descriptioncmd/dist: cross-compiling fixes
This CL makes it possible to run make.bash with
GOOS and GOARCH set to something other than
the native host GOOS and GOARCH.
As part of the CL, the tool directory moves from bin/tool/
to pkg/tool/goos_goarch where goos and goarch are
the values for the host system (running the build), not
the target. pkg/ is not technically appropriate, but C objects
are there now tool (pkg/obj/) so this puts all the generated
binaries in one place (rm -rf $GOROOT/pkg cleans everything).
Including goos_goarch in the name allows different systems
to share a single $GOROOT on a shared file system.
Fixes issue 2920.
Patch Set 1 #Patch Set 2 : diff -r 4a0c77722a5e https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 4a0c77722a5e https://go.googlecode.com/hg/ #Patch Set 4 : diff -r e82fb8e5b5c8 https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 5 : diff -r aa8737f1a31b https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|