<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ali Hamidi on Medium]]></title>
        <description><![CDATA[Stories by Ali Hamidi on Medium]]></description>
        <link>https://medium.com/@ahamidi?source=rss-2e0537a91ac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xASev0S2a4tYEsD7./profile_images/1372020855/B09FDBF4-C820-40E3-86CD-59A078BC9A43_normal</url>
            <title>Stories by Ali Hamidi on Medium</title>
            <link>https://medium.com/@ahamidi?source=rss-2e0537a91ac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 02:53:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahamidi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cross compilation of Go on OSX]]></title>
            <link>https://medium.com/@ahamidi/cross-compilation-of-go-on-osx-1847d048718d?source=rss-2e0537a91ac------2</link>
            <guid isPermaLink="false">https://medium.com/p/1847d048718d</guid>
            <dc:creator><![CDATA[Ali Hamidi]]></dc:creator>
            <pubDate>Thu, 17 Jul 2014 07:39:27 GMT</pubDate>
            <atom:updated>2014-07-17T07:39:27.415Z</atom:updated>
            <content:encoded><![CDATA[<h4>Easier than you’d think</h4><p>My main development machine is a Macbook Pro Retina (running OSX naturally), but our production servers all run Ubuntu.</p><p>The vast majority of our platform is built on Ruby, so we’ve never needed to consider compilation for particular platforms. I rather naively assumed that I’d just run go build, send the binary over to the server and launch it.</p><p>This is obviously not the case, but luckily getting cross complication setup was pretty straight forward following <a href="http://dave.cheney.net/2013/07/09/an-introduction-to-cross-compilation-with-go-1-1">the instructions on this blog post</a>.</p><p>I initially installed from the Go binary distribution package from here:<a href="https://code.google.com/p/go/downloads/list">Go Downloads</a> so in order for me to build all the libraries for the other platforms I had to do the following:</p><pre>cd /usr/local/go/src <br>./all.bash</pre><p>The rest was exactly the same as the blog post (no need to install Go from source).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1847d048718d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>