<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Compile</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>Recent changes to Compile</description><atom:link href="https://sourceforge.net/p/microlua/wiki/Compile/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 17 Nov 2013 13:48:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/microlua/wiki/Compile/feed" rel="self" type="application/rss+xml"/><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -153,6 +153,7 @@
 The other times, a `make` in the µLua's folder is enough unless you modify something inside 'lua'.

 Since 4.7, the Makefile provides two more targets:
+
 * `make all` will always compile both lualib and 'MicroLua.nds'
 * `make cleanall` will clean both the 'lua' folder and the current folder

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Sun, 17 Nov 2013 13:48:26 -0000</pubDate><guid>https://sourceforge.netec4d53d800129a5378fa9b8a1feb168f4a732014</guid></item><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -9,7 +9,7 @@

 This page concerns both Windows and Linux users. In each part, there will be explanations for the two OS.

-This is currently working with devkitPro 1.5.3 (libnds 1.5.7) and MicroLua 4.6.1_a. There is no clue that it won't work with any later version but in the same time I cannot guarantee it will work without modification.
+This is currently working with devkitPro 1.5.3 (libnds 1.5.7, devkitARM 41) and MicroLua 4.7.1. There is no clue that it won't work with any later version but in the same time I cannot guarantee it will work without modification.

 Setup
@@ -68,7 +68,7 @@

 Running 'devkitARMupdate.pl' will install devkitPro in your 'home' folder, however this can be customized by editing the first line of real instructions in the script.

-Then you need to add the environment variables similar to Windows, as the script cannot do this.  
+Then you need to add the environment variables similarly to Windows, as the script cannot do this.  
 You should probably edit the file called either '.profile' or '.bash_profile' following the one already existing. This way they will be available in every shell you open.

 Put somewhere in (at the end of) the file:
@@ -115,11 +115,11 @@
 The only thing you need to do is to merge the 'libnds' folder into the one already present inside 'devkitpro' by replacing the asked files.

 Set up MicroLua's sources
----------------------------------
+-------------------------

-Whether you got the sources from the static package or the repository, you get a folder containing among others 'lua-x' (the Lua sources modified for MicroLua), 'sources' (the 'main.c' for µLua), etc.
+Whether you got the sources from the static package or the repository, you get a folder containing among others 'lua' (the Lua sources modified for MicroLua), 'sources' (the 'main.c' for µLua), etc.

-If you need to include some files in the EFS, make a directory called 'efsroot'.
+If you need to include some files in the EFS, make a directory called 'efsroot' and put them in.

 Compilation
@@ -137,20 +137,24 @@

 The first time, you obviously need to compile the lualib so run 'Compile_All.bat'. If an error occurs, run it a second time and it should be okay. Thus you also get your executable, meaning... You made it!

-The next time, 'Compile_DS.bat' will be sufficient unless you change something inside the 'lua-X' folder.
+The next time, 'Compile_DS.bat' will be sufficient unless you change something inside the 'lua' folder.

 Linux
 -----

 It is very close to what you did with the µLib and in the end you need to do the same things than the Windows users:

-1. `cd lua-X`
+1. `cd lua`
 * `make` and then `make install`
-* `make clean` if you wish (important if you want to commit something to out Git repository afterwards)
+* `make clean` if you wish (important if you want to commit something to our Git repository afterwards)
 * `cd ..`

 Now you have built the lualib. So just do a `make` in the µLua's folder and you get your .nds binary! `make clean` may be done here too.  
-The other times, a `make` in the µLua's folder is enough unless you modify something inside 'lua-X'.
+The other times, a `make` in the µLua's folder is enough unless you modify something inside 'lua'.
+
+Since 4.7, the Makefile provides two more targets:
+* `make all` will always compile both lualib and 'MicroLua.nds'
+* `make cleanall` will clean both the 'lua' folder and the current folder

 EFS
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Sun, 17 Nov 2013 13:47:48 -0000</pubDate><guid>https://sourceforge.net8e7e2d7b5713bc5472626ffa83237a66a6e88d78</guid></item><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -158,11 +158,11 @@

 You can get more informations about this feature [here](EFS).

-By default MicroLua always have an embedded file system, which is the content of the folder 'efsroot'. So if left empty, your embedded file system will be empty. Since [1c5823] there is no need to make the folder if you do not wish to use the EFS.
+Since [1c5823] there is no need to make the folder if you do not wish to use the EFS; the compilation process will include the folder and patch the binary to enable the EFS only if the folder is found.

 By putting the 'lua' folder inside it, MicroLua will use this one if none is present on the linker. Replace the file 'shell.lua' inside 'lua/libs' by your 'index.lua' (the main file of your script) and you get your standalone MicroLua homebrew!

-Many thanks to thomh@ck for its [tutorial (French)](http://microlua.xooit.fr/t1098-Compiler-MicroLua-avec-L-EFS-sous-Windows.htm).
+Many thanks to thomh@ck for his [tutorial (French)](http://microlua.xooit.fr/t1098-Compiler-MicroLua-avec-L-EFS-sous-Windows.htm).
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Thu, 12 Sep 2013 15:48:56 -0000</pubDate><guid>https://sourceforge.net2bc7087354b13ef64603a21eb2f830ed3d9f2278</guid></item><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -158,7 +158,7 @@

 You can get more informations about this feature [here](EFS).

-By default MicroLua always have an embedded file system, which is the content of the folder 'efsroot'. So if left empty, your embedded file system will be empty.
+By default MicroLua always have an embedded file system, which is the content of the folder 'efsroot'. So if left empty, your embedded file system will be empty. Since [1c5823] there is no need to make the folder if you do not wish to use the EFS.

 By putting the 'lua' folder inside it, MicroLua will use this one if none is present on the linker. Replace the file 'shell.lua' inside 'lua/libs' by your 'index.lua' (the main file of your script) and you get your standalone MicroLua homebrew!

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Thu, 04 Jul 2013 14:14:19 -0000</pubDate><guid>https://sourceforge.netb99a89d0d1be3a7380f8b544e43d9f76cfd3ccfd</guid></item><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -114,12 +114,12 @@

 The only thing you need to do is to merge the 'libnds' folder into the one already present inside 'devkitpro' by replacing the asked files.

-Set up the MicroLua's sources
+Set up MicroLua's sources
 ---------------------------------

 Whether you got the sources from the static package or the repository, you get a folder containing among others 'lua-x' (the Lua sources modified for MicroLua), 'sources' (the 'main.c' for µLua), etc.

-You need to make a folder called 'efsroot' inside this one. Left it empty if you don't know its purpose.
+If you need to include some files in the EFS, make a directory called 'efsroot'.

 Compilation
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Thu, 04 Jul 2013 14:12:31 -0000</pubDate><guid>https://sourceforge.net2399e1b330e71c012a071ac556b0822af3151119</guid></item><item><title>Compile modified by Reylak</title><link>https://sourceforge.net/p/microlua/wiki/Compile/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This page will guide you through the compilation process of MicroLua.&lt;/p&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#setup"&gt;Setup&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#download-the-files"&gt;Download the files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#install-devkitpro"&gt;Install devkitPro&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#windows"&gt;Windows&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#checking-the-environment-variables"&gt;Checking the environment variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#setting-the-environment-variables"&gt;Setting the environment variables&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#linux"&gt;Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#install-the-library"&gt;Install the µLibrary&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#windows_1"&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#linux_1"&gt;Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#install-the-custom-libwifi"&gt;Install the custom libwifi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#set-up-the-microluas-sources"&gt;Set up the MicroLua's sources&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#compilation"&gt;Compilation&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#windows_2"&gt;Windows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#linux_2"&gt;Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#efs"&gt;EFS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;This page concerns both Windows and Linux users. In each part, there will be explanations for the two OS.&lt;/p&gt;
&lt;p&gt;This is currently working with devkitPro 1.5.3 (libnds 1.5.7) and MicroLua 4.6.1_a. There is no clue that it won't work with any later version but in the same time I cannot guarantee it will work without modification.&lt;/p&gt;
&lt;h1 id="setup"&gt;Setup&lt;/h1&gt;
&lt;h2 id="download-the-files"&gt;Download the files&lt;/h2&gt;
&lt;p&gt;The first thing to do is to download everything you need. Some are archives so a good archive manager such as 7zip is recommended.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a class="" href="https://sourceforge.net/projects/devkitpro/files/Automated%20Installer/"&gt;devkitPro&lt;/a&gt;: this is the toolchain for compiling on many consoles, including NDS of course&lt;ul&gt;
&lt;li&gt;Windows: download 'devkitProUpdater-X.exe'&lt;/li&gt;
&lt;li&gt;Linux: download 'devkitARMupdate.pl'; this is a Perl script so you will need a Perl interpreter (that is already available on most flavors) to run this&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="../Get%20sources"&gt;Microlua sources&lt;/a&gt;: both methods lead to having a folder containing all the good stuff in the same organization on both OS&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="http://sourceforge.net/projects/microlua/files/Miscellaneous/libnds%20modified%20for%20Nifi%20uLua%204.6.1.zip/download"&gt;modified libnds for MicroLua's Nifi&lt;/a&gt;: this will replace some low-level files to enable the Nifi (console-to-console connectivity) in MicroLua&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="http://sourceforge.net/projects/microlua/files/Miscellaneous/uLibrary%5BReylak%5D-09.jan.2013.zip/download"&gt;custom updated µLibrary&lt;/a&gt;: the µLibrary's website is down as the project is dead anyway, so just take our own sources&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="install-devkitpro"&gt;Install devkitPro&lt;/h2&gt;
&lt;p&gt;Now you have everything needed, we can start with installing the devkitPro toolchain. This is the "compilation machine" which brings all the tools needed to build a &lt;code&gt;.nds&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id="windows"&gt;Windows&lt;/h3&gt;
&lt;p&gt;The automated installer 'devkitProUpdater-X.exe' will guide you through the download and installation of the complete toolchain.&lt;/p&gt;
&lt;p&gt;The only part needed is &lt;em&gt;msys&lt;/em&gt; and &lt;em&gt;devkitARM&lt;/em&gt; so you can uncheck everything else for a minimal setup. These parts concern PSP, NGC and Wii, besides some tools that may or may not be useful.&lt;/p&gt;
&lt;h4 id="checking-the-environment-variables"&gt;Checking the environment variables&lt;/h4&gt;
&lt;p&gt;There should be no issue with this but you may check that some environment variables have been created. They will lead the compilation process to devkitPro's binaries (otherwise the compilation fail as it will not find the &lt;code&gt;make&lt;/code&gt; commands.&lt;br /&gt;
Run a command interpreter (Windows+R then type in &lt;code&gt;cmd&lt;/code&gt;) and type:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;DEVKITPRO&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;
&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;DEVKITARM&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If set properly, you should see the paths leading to your devkitPro installation, and to a folder called 'devkitARM' in the same path than above. If you haven't changed anything, they should be respectively 'c:\devkitpro' and 'c:\devkitpro\devkitARM'.&lt;br /&gt;
The variable &lt;code&gt;PATH&lt;/code&gt; also should have been changed by adding 'c:\devkitpro\msys\bin' (default path) to it. You check it out likewise with &lt;code&gt;echo %PATH%&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If there any problem with these, check the following chapter; otherwise, you may jump to 'Install the µLibrary'.&lt;/p&gt;
&lt;h4 id="setting-the-environment-variables"&gt;Setting the environment variables&lt;/h4&gt;
&lt;p&gt;Let's say the variables weren't set properly; we have to make them anyway. Here is how to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to 'Start/Control Panel/System'&lt;/li&gt;
&lt;li&gt;Open the 'Advanced' window&lt;/li&gt;
&lt;li&gt;Click the button 'Environment variables' at the bottom of the frame&lt;/li&gt;
&lt;li&gt;Add the two &lt;code&gt;DEVKITXXX&lt;/code&gt; variables in the lower list&lt;/li&gt;
&lt;li&gt;Complete the pre-existant &lt;code&gt;PATH&lt;/code&gt; variable by adding the path followed by a semi-column ";" (without any space)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I invite you to check what you did by following the step in the chapter hereabove.&lt;/p&gt;
&lt;h3 id="linux"&gt;Linux&lt;/h3&gt;
&lt;p&gt;Running 'devkitARMupdate.pl' will install devkitPro in your 'home' folder, however this can be customized by editing the first line of real instructions in the script.&lt;/p&gt;
&lt;p&gt;Then you need to add the environment variables similar to Windows, as the script cannot do this.&lt;br /&gt;
You should probably edit the file called either '.profile' or '.bash_profile' following the one already existing. This way they will be available in every shell you open.&lt;/p&gt;
&lt;p&gt;Put somewhere in (at the end of) the file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;DEVKITPRO&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;YOUR_NAME&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;devkitpro&lt;/span&gt;
&lt;span class="n"&gt;DEVKITARM&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;DEVKITPRO&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;devkitARM&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Restarting the shell (or doing &lt;code&gt;source .profile&lt;/code&gt; or &lt;code&gt;source .bash_profile&lt;/code&gt; if you are lazy) is mandatory for this to have an effect. You can check it worked by typing:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;DEVKITPRO&lt;/span&gt;
&lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="n"&gt;DEVKITARM&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;At this point you may be able to compile a generic source code for the NDS, however MicroLua needs two more things before the compilation can be made.&lt;/p&gt;
&lt;h2 id="install-the-library"&gt;Install the µLibrary&lt;/h2&gt;
&lt;p&gt;The next step is to install the µLibrary. This is a lib which (mainly) ease drawings so you do not have to mess with the low-level libnds for this.&lt;/p&gt;
&lt;p&gt;Helpfully the precompiled files in 'libnds' may work, so you only have to merge this folder into the one in the devkitPro root. However there are not updated (and &lt;em&gt;this&lt;/em&gt; may cause them not to work) so I advised to follow the compilation steps hereby in order to properly setup the µLibrary.&lt;/p&gt;
&lt;h3 id="windows_1"&gt;Windows&lt;/h3&gt;
&lt;p&gt;Some Batch scripts are present to ease the process, but you have to set the paths within the scripts.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;'Install.bat': on the 4th line, set &lt;code&gt;ROOTPATH&lt;/code&gt; to the devkitpro's folder (usually 'c:\devkitpro')&lt;/li&gt;
&lt;li&gt;'Source\Install.bat': 3rd line, set &lt;code&gt;ROOTPATH&lt;/code&gt; to the libnds's folder inside the devkitPro's one (usually 'c:\devkitpro\libnds')&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now you are done, go back to the µLibrary folder and run 'Install.bat'. It is advised to run it from a CMD. Then, &lt;code&gt;cd&lt;/code&gt; to 'Source' and run its 'Install.bat'.&lt;/p&gt;
&lt;p&gt;You're done! You can test that the compilation process is working fine by running a 'Build.bat' in any example from the µLibrary folder. If you manage to get a working .nds in the end, it means you are almost done.&lt;/p&gt;
&lt;h3 id="linux_1"&gt;Linux&lt;/h3&gt;
&lt;p&gt;Running &lt;code&gt;make&lt;/code&gt; and / or &lt;code&gt;make install&lt;/code&gt; in the 'Source' will do the job: building the lib, and copying the includes and the '.a' in the devkitPro folder according to the set environment variables.&lt;/p&gt;
&lt;h2 id="install-the-custom-libwifi"&gt;Install the custom libwifi&lt;/h2&gt;
&lt;p&gt;One of the archives you downloaded earlier is a custom libnds lib which enables support for Nifi from MicroLua.&lt;/p&gt;
&lt;p&gt;The only thing you need to do is to merge the 'libnds' folder into the one already present inside 'devkitpro' by replacing the asked files.&lt;/p&gt;
&lt;h2 id="set-up-the-microluas-sources"&gt;Set up the MicroLua's sources&lt;/h2&gt;
&lt;p&gt;Whether you got the sources from the static package or the repository, you get a folder containing among others 'lua-x' (the Lua sources modified for MicroLua), 'sources' (the 'main.c' for µLua), etc.&lt;/p&gt;
&lt;p&gt;You need to make a folder called 'efsroot' inside this one. Left it empty if you don't know its purpose.&lt;/p&gt;
&lt;h1 id="compilation"&gt;Compilation&lt;/h1&gt;
&lt;p&gt;Finally we can compile MicroLua!&lt;/p&gt;
&lt;h2 id="windows_2"&gt;Windows&lt;/h2&gt;
&lt;p&gt;You have two batch scripts, 'Compile_All.bat' and 'Compile_DS.bat':&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the latter will only compile the content of 'sources', thus producing the executable of MicroLua.&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;the first one compiles first the lualib (that is to say a version of Lua modified for µLua) and then makes MicroLua just like the second script&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The first time, you obviously need to compile the lualib so run 'Compile_All.bat'. If an error occurs, run it a second time and it should be okay. Thus you also get your executable, meaning... You made it!&lt;/p&gt;
&lt;p&gt;The next time, 'Compile_DS.bat' will be sufficient unless you change something inside the 'lua-X' folder.&lt;/p&gt;
&lt;h2 id="linux_2"&gt;Linux&lt;/h2&gt;
&lt;p&gt;It is very close to what you did with the µLib and in the end you need to do the same things than the Windows users:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;cd lua-X&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;make&lt;/code&gt; and then &lt;code&gt;make install&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;make clean&lt;/code&gt; if you wish (important if you want to commit something to out Git repository afterwards)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cd ..&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now you have built the lualib. So just do a &lt;code&gt;make&lt;/code&gt; in the µLua's folder and you get your .nds binary! &lt;code&gt;make clean&lt;/code&gt; may be done here too.&lt;br /&gt;
The other times, a &lt;code&gt;make&lt;/code&gt; in the µLua's folder is enough unless you modify something inside 'lua-X'.&lt;/p&gt;
&lt;h1 id="efs"&gt;EFS&lt;/h1&gt;
&lt;p&gt;You can get more informations about this feature &lt;a class="" href="../EFS"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By default MicroLua always have an embedded file system, which is the content of the folder 'efsroot'. So if left empty, your embedded file system will be empty.&lt;/p&gt;
&lt;p&gt;By putting the 'lua' folder inside it, MicroLua will use this one if none is present on the linker. Replace the file 'shell.lua' inside 'lua/libs' by your 'index.lua' (the main file of your script) and you get your standalone MicroLua homebrew!&lt;/p&gt;
&lt;p&gt;Many thanks to thomh@ck for its &lt;a class="" href="http://microlua.xooit.fr/t1098-Compiler-MicroLua-avec-L-EFS-sous-Windows.htm" rel="nofollow"&gt;tutorial (French)&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reylak</dc:creator><pubDate>Fri, 14 Jun 2013 12:30:46 -0000</pubDate><guid>https://sourceforge.net9a3859fcc8b6f33ec65672f6776028bb4fc5f782</guid></item></channel></rss>