From 1385efbf40d328932bc8cb7dfd21043f98a9cb2f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 31 Jul 2015 10:42:17 -0700 Subject: [PATCH] Don't set GOROOT=GOROOT_BOOTSTRAP --- GoArm.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/GoArm.md b/GoArm.md index 12027be8..8ff7c79d 100644 --- a/GoArm.md +++ b/GoArm.md @@ -346,10 +346,6 @@ Go Version: 1.5Beta1 Special Notes: Enable a swap partition (<=1GB is fine). Build process is CPU-intensive and may cause the internal 90C temperature threshold to be exceeded - keep the HiKey cool during the build. -As mentioned above, cross-compile the toolchain (e.g. on Ubuntu AMD64) for ARM64 then transfer over the bootstrap tbz file, untar it, and use that as the `GOROOT_BOOTSTRAP` as well as the `GOROOT`: -``` -$ cd go/src -$ GOROOT=/path/to/go/bootstrap -$ GOROOT_BOOTSTRAP=$GOROOT ./all.bash -``` +As mentioned above, use bootstrap.sh (e.g. on Ubuntu AMD64) for ARM64, then transfer over the bootstrap tbx file, untar it, and use it as GOROOT_BOOTSTRAP. Check out the Go sources into a separate GOROOT, and build. + _--Andrew Cencini_ (andrew@vapor.io) \ No newline at end of file