title: Cross compile Go on OSX?
body: <p>I am trying to cross-compile a go app on OSX to build binaries for windows and linux. I have read everything what I could find on the net. Closest example that I have found has been published on (apart from many unfinished discussions on go-nuts mailing list):</p>
  
  <p><a href="http://solovyov.net/en/2012/03/09/cross-compiling-go/">http://solovyov.net/en/2012/03/09/cross-compiling-go/</a></p>
  
  <p>yet it does not work on my installation. I have go 1.0.2. As 1.0.2 is quite recent it looks to me that all above examples do not apply to this version.</p>
  
  <p>Tried to do <code>./make.bash --no-clean</code> with ENV vars set to 386/windows, it does build go, however it builds go for my installation which is <code>darwin/amd64</code> and completely ignores what is set in ENV that suppose to build different compiler.</p>
  
  <p>Any advises how it can be done (if it can be done at all)?</p>