Google Groups

Re: [go-nuts] Cross-compiling with the go tool


Sanjay Mar 8, 2012 10:24 PM
Posted in group: golang-nuts
So if you're cross compiling gcc is called "gcc", cgo will work? Unfortunately, pretty much everything I write uses net :/

If I want a distributable binary, currently, I commit, ssh, pull, go install, logout, scp
It would be nicer to go install. (Nicer still would be to have a cross compiling build server that runs on a post-commit hook, but now I may be going a bit afield...)

I'm curious how rsc did this https://code.google.com/p/codesearch/downloads/list actually. Same thing I mentioned above? or is there something smarter.

Sanjay