Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Assuming you are using <a href="http://code.google.com/r/hectorchu-go-windows/" rel="nofollow noreferrer">Hector's source tree</a>:</p> <ol> <li>Install <a href="http://www.mingw.org/" rel="nofollow noreferrer">MinGW</a> and MSYS, along with MSYS Bison and any other tools you think you'll find useful (vim, etc).</li> <li>Install <a href="http://gnuwin32.sourceforge.net/packages/ed.htm" rel="nofollow noreferrer">ed</a> from the <a href="http://gnuwin32.sourceforge.net/" rel="nofollow noreferrer">GNUWin32 project</a>.</li> <li>Install <a href="http://www.python.org/" rel="nofollow noreferrer">Python</a> and <a href="http://mercurial.selenic.com/wiki/Download" rel="nofollow noreferrer">Mercurial</a>.</li> <li>Clone the [hectorchu-go-windows mercurial repository](<a href="https://hectorchu-go-windows.googlecode.com/hg/" rel="nofollow noreferrer">https://hectorchu-go-windows.googlecode.com/hg/</a> hectorchu-go-windows) to <code>C:\Go</code>.</li> <li>Run an MSYS shell (or rxvt). The rest of these are bash commands... <ol> <li><code>mkdir $HOME/bin</code></li> <li><code>export PATH=$HOME/bin:$PATH</code></li> <li><code>export GOROOT=C:\\Go</code></li> <li><code>export GOARCH=386</code></li> <li><code>export GOOS=mingw</code></li> <li><code>cd /c/Go/src</code></li> <li><code>./all.bash</code></li> <li>Correct errors as it spits them out at you, repeat step 10 until it starts building.</li> </ol></li> </ol> <p>It's the same idea as on <a href="http://golang.org/doc/install.html" rel="nofollow noreferrer">Linux or MacOS</a>, basically.</p> <p>However, I still stand by what I said in my comment above: this isn't necessarily going to generate anything that actually works yet. You'd be better served by waiting until this effort has merged into the main Go tree before tackling it, unless your interest is in assisting with the porting effort.</p> <p><strong><em>Update:</em></strong> there is now a mostly-functional <a href="http://code.google.com/p/go-windows/" rel="nofollow noreferrer">pre-built windows port</a> available, for those not interested in building the compiler themselves. However, given the rate of change of the project, the lack of formal releases (other than the hg "release" tag), and the possibility of Hector's changes being merged into the main branch soon, keeping up with development via source builds is likely to produce better results over time.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload