Cross-compiling is provided by Go and the following environment variables are relevant:
Go
GOOS
GOARCH
GOMIPS