<p>Starting with version 0.7, building <b>eLua</b> in Windows is officially supported. The following instructions were tested in Windows 7 Professional, but they
<li><b>a toolchain</b>: building a GCC-based toolchain under Windows is possible but not easy. We found that the easiest thing to do is to download a pre-built toolchain
and install it. Currently, all the targets supported by <b>eLua</b> (except i386) have at least one toolchain that runs under Windows:
<ul>
<li>For ARM7, ARM9 and Cortex-M3 targets, you can download and install the CodeSourcery Lite Edition (supported by <b>eLua</b> out of the box) from
<ahref="http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite">here</a>. For reference, the version used in this tutorial is
"Sourcery G++ Lite 2009q3-68 for ARM EABI". Future (and some previous) versions of this toolchain should also work. Remember to specify
<code>toolchain=codesourcery</code> when using this toolchain (see <ahref="building.html#buildoptions">here</a> for details).</li>
<li>AVR32 has its own Windows based GNU toolchain that can be downloaded from Atmel <ahref="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4118">here</a>.</li>
</ul></li>
<li><b>Python</b>: my favourite Windows distribution of Python is <ahref="http://www.activestate.com/activepython/">ActivePython</a>. Simply download it and install it. ActivePython
<li><b>scons</b>: download the Windows installer package from <ahref="http://www.scons.org/download.php">here</a>. For this tutorial, scons 1.2.0 will be used. Remember to install
scons <b>after</b> you install Python. </li>
<li><b>lua</b>: a very good and versatile Lua distribution for Windows is "Lua for Windows", it can be downloaded from <ahref="http://luaforwindows.luaforge.net/">here</a>. Besides
Lua itself, it includes a lot of very useful Lua modules, so I highly recommend it. Version 5.1.4.30 of Lua for Windows will be used in this tutorial.</li>
<li><b>svn</b>: if you need to checkout the <b>eLua</b> source code from the SVN repository, then you will need to install SVN for Windows. There are a few pre-compiled SVN packages for
Windows. I'm using the Tigris binaries that can be downloaded from <ahref="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100">here</a>. In this
tutorial I'll use version 1.6.6. If you require developer access (svn+ssh), additional steps are needed to make "svn+ssh" work in Windows. A lot of tutorials
that cover this topic are available, for example <ahref="http://agateau.wordpress.com/2007/07/03/windows-svnssh-and-the-subversion-command-line-client/">this one</a>.</li>
<li><b>gcc</b>: if you want to use the ROMFS pre-compiled feature (see <ahref="arch_romfs.html#mode">here</a> for details), then you will need to build an image for the <b>eLua</b> cross compiler, and you will need an i386
toolchain for this. I'm using MinGW for this task. It can be downloaded from <ahref="http://www.mingw.org/">here</a>. This tutorial uses MinGW version 5.1.6. Note that you
don't need to install MSYS; MinGW should be enough. Cygwin should work equally as well, or even Microsoft's Visual Studio (not tested). To build the cross compiler, run
<p>Make sure that all the programs listed above are added to %PATH%. Most of them do this automatically, or have an option to do this automatically, but some
<p>After you setup your build environment as described above, follow <ahref="building.html#configuring">this tutorial</a> to build your <b>eLua</b> image.</p>