Thanks to the great architecture, it's pretty easy to cross compile Go
toolchain. If the target happens to be little endian arm, we have a
"native" 5* toolchain that can run on the device.
The cross build recipe is at
http://trac.nslu2-linux.org/optware/browser/trunk/make/golang.mk
The resulting binaries here
http://ipkg.nslu2-linux.org/feeds/optware/
(for arm and i686 feeds including some uclibc targets). There are a
lot of devices that can use these feeds - Linksys nslu2 with slugos5le
or debian firmware (cs08q1armel), Marvell SheevaPlug, QNAP/Synology/
Buffalo/WD/Maxtor/D-link NAS, Palm Pre phone. Unfortunately soft
floating point does not work yet on ARM so right now you'd need to use
println() instead of fmt.
After installing the ipk, you'll need to set GOOS=linux GOARCH=arm
GOROOT=/opt/share/go GOBIN=/opt/share/go/bin, optionally PATH=$GOBIN:
$PATH.
Cheers,
-Brian