Skip to content

Instantly share code, notes, and snippets.

@cjac
Created March 18, 2020 04:35
Show Gist options
  • Save cjac/09f7e3c9112d4a7ca44307aab67d32ef to your computer and use it in GitHub Desktop.
Save cjac/09f7e3c9112d4a7ca44307aab67d32ef to your computer and use it in GitHub Desktop.
mkdir -p /usr/src/tmp/
cd /usr/src/tmp
wget 'https://dl.google.com/go/go1.4.linux-amd64.tar.gz'
tar xfvz go1.4.linux-amd64.tar.gz
mkdir -p /usr/src/git/github/4ad
cd /usr/src/git/github/4ad
git clone [email protected]:4ad/go.git
cd go/src
GOROOT_BOOTSTRAP=/usr/src/tmp/go GOOS=solaris GOARCH=sparc64 ./make.bash
file ../bin/solaris_sparc64/go
../bin/solaris_sparc64/go: ELF 64-bit MSB executable, SPARC V9, total store ordering, version 1 (Solaris), dynamically linked, interpreter /usr/lib/sparcv9/ld\
.so.1, Go BuildID=3e56fb7f97effd2a01c748122904434c1f5befdf, not stripped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment