TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An introduction to cross compilation with Go

72 pointsby jemeshsuover 12 years ago

3 comments

georgemcbayover 12 years ago
Very nice introduction.<p>I've been doing Go development for chumby (ARMv5-based) devices for months, and do all of my editing and compilation on Windows and then just rsync the binary over as part of my Sublime Text 2 build script.<p>Go is the greatest embedded-device-style development environment I've ever used, by far, without all the hassles of having to build a full cross-compile toolchain or use some hopelessly out of date vendor-made BSP cross-compile toolchain.<p>(FWIW, building a Go compiler right on the device is easy as well, but even with Go's focus on fast compile times, cross-compiling is still a much better experience when targeting these low CPU/low RAM devices).
评论 #4493687 未加载
eckyptangover 12 years ago
Great article and well timed for me.<p>I've been toying with the idea of trying to bring a Go program up on the following (as I have a couple lying around):<p><a href="https://www.olimex.com/dev/lpc-e2468.html" rel="nofollow">https://www.olimex.com/dev/lpc-e2468.html</a><p>The only problem is that it doesn't support "normal" linux - uCLinux only.
评论 #4495631 未加载
patrickgover 12 years ago
I have been using the instructions in the wiki and they work smoothly: <a href="http://code.google.com/p/go-wiki/wiki/WindowsCrossCompiling" rel="nofollow">http://code.google.com/p/go-wiki/wiki/WindowsCrossCompiling</a>