• Russ Cox's avatar
    cmd/dist: cross-compiling fixes · 7b848c69
    Russ Cox authored
    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 #2920.
    
    R=golang-dev, r
    CC=golang-dev
    https://golang.org/cl/5645093
    7b848c69
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...