I use GOROOT=$home/go to keep up with tip. after bootstrapping, rebuild the standard packages and commands:
% GOBIN=$home/bin/386 $home/go/bin/go install -a std cmd
and
% GOARCH=arm go install -a std cmd
then in my profile:
% test -d $home/go/bin/plan9_^$cputype && bind -a $home/go/bin/plan9_^$cputype /bin || bind -a $home/go/bin /bin
unfortunately because the treatment of GOBIN is not symmetrical when $GOARCH == $cputype vs $GOARCH != $cputype, we can't do:
% for (GOARCH in (386 arm)) {
echo GOBIN=$home/bin/$GOARCH $home/go/bin/go install -a std cmd
}
-Skip