<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>交叉编译 on Jermineの博客 </title>
    <link>https://Jermine.vdo.pub/tags/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91/</link>
    <description>Recent content in 交叉编译 on Jermineの博客 </description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 23 Mar 2016 14:14:13 +0800</lastBuildDate>
    <atom:link href="https://Jermine.vdo.pub/tags/%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Golang Cross Compiled Config - go语言跨平台交叉编译</title>
      <link>https://Jermine.vdo.pub/go/go-cross-compiled-config/</link>
      <pubDate>Wed, 23 Mar 2016 14:14:13 +0800</pubDate>
      <guid>https://Jermine.vdo.pub/go/go-cross-compiled-config/</guid>
      <description>&lt;h1 id=&#34;go在各个平台交叉编译的介绍&#34;&gt;go在各个平台交叉编译的介绍&lt;/h1&gt;&#xA;&lt;p&gt;&lt;code&gt;Golang&lt;/code&gt; 支持交叉编译，在一个平台上生成另一个平台的可执行程序，最近使用了一下，非常好用，这里备忘一下。&lt;/p&gt;&#xA;&lt;h3 id=&#34;mac-下的交叉编译&#34;&gt;Mac 下的交叉编译&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;Mac&lt;/code&gt; 下编译 &lt;code&gt;Linux&lt;/code&gt; 和 &lt;code&gt;Windows 64&lt;/code&gt; 位可执行程序&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go &#xA;CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build main.go&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;linux-下的交叉编译&#34;&gt;Linux 下的交叉编译&lt;/h3&gt;&#xA;&lt;p&gt;&lt;code&gt;Linux&lt;/code&gt; 下编译 &lt;code&gt;Mac&lt;/code&gt; 和 &lt;code&gt;Windows 64&lt;/code&gt;位可执行程序&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
