aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/install.html64
1 files changed, 36 insertions, 28 deletions
diff --git a/doc/install.html b/doc/install.html
index bf40bb2d..19fab1b8 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -177,6 +177,12 @@ LuaJIT currently builds out-of-the box on most systems:
177<td class="compatx">Xbox One SDK (DURANGO)</td> 177<td class="compatx">Xbox One SDK (DURANGO)</td>
178<td class="compatx">v2.1 &ndash;</td> 178<td class="compatx">v2.1 &ndash;</td>
179</tr> 179</tr>
180<tr class="even">
181<td class="compatname"><a href="#consoles">Nintendo Switch</a></td>
182<td class="compatver">&nbsp;</td>
183<td class="compatx">NintendoSDK + NX Addon</td>
184<td class="compatx">v2.1 &ndash;</td>
185</tr>
180</table> 186</table>
181<p> 187<p>
182The codebase has compatibility defines for some more systems, but 188The codebase has compatibility defines for some more systems, but
@@ -519,8 +525,7 @@ Please use the LuaJIT 2.1 branch to compile for
519<h3 id="consoles">Cross-compiling for consoles</h3> 525<h3 id="consoles">Cross-compiling for consoles</h3>
520<p> 526<p>
521Building LuaJIT for consoles requires both a supported host compiler 527Building LuaJIT for consoles requires both a supported host compiler
522(x86 or x64) and a cross-compiler (to PPC or ARM) from the official 528(x86 or x64) and a cross-compiler from the official console SDK.
523console SDK.
524</p> 529</p>
525<p> 530<p>
526Due to restrictions on consoles, the JIT compiler is disabled and only 531Due to restrictions on consoles, the JIT compiler is disabled and only
@@ -541,35 +546,38 @@ To cross-compile for <b id="ps3">PS3</b> from a Linux host (requires
541make HOST_CC="gcc -m32" CROSS=ppu-lv2- 546make HOST_CC="gcc -m32" CROSS=ppu-lv2-
542</pre> 547</pre>
543<p> 548<p>
544To cross-compile for <b id="ps4">PS4</b> from a Windows host, 549To cross-compile for the other consoles from a Windows host, open a
545open a "Visual Studio .NET Command Prompt" (64&nbsp;bit host compiler), 550"Native Tools Command Prompt for VS". You need to choose either the 32
546<tt>cd</tt> to the directory where you've unpacked the sources and 551or the 64&nbsp;bit version of the host compiler to match the target.
547run the following commands: 552Then <tt>cd</tt> to the <tt>src</tt> directory below where you've
553unpacked the sources and run the build command given in the table:
548</p> 554</p>
549<pre class="code"> 555<table class="compat">
550cd src 556<tr class="compathead">
551ps4build 557<td class="compatname">Console</td>
552</pre> 558<td class="compatbits">Bits</td>
553<p> 559<td class="compatx">Build Command</td>
554To cross-compile for <b id="psvita">PS Vita</b> from a Windows host, 560</tr>
555open a "Visual Studio .NET Command Prompt" (32&nbsp;bit host compiler), 561<tr class="odd separate">
556<tt>cd</tt> to the directory where you've unpacked the sources and 562<td class="compatname"><b id="ps4">PS4</b></td>
557run the following commands: 563<td class="compatbits">64</td>
558</p> 564<td class="compatx"><tt>ps4build</tt></td>
559<pre class="code"> 565</tr>
560cd src 566<tr class="even">
561psvitabuild 567<td class="compatname"><b id="psvita">PS Vita</b></td>
562</pre> 568<td class="compatbits">32</td>
569<td class="compatx"><tt>psvitabuild</tt></td>
570</tr>
571<tr class="odd">
572<td class="compatname"><b id="xbox360">Xbox 360</b></td>
573<td class="compatbits">32</td>
574<td class="compatx"><tt>xedkbuild</tt></td>
575</tr>
576</table>
563<p> 577<p>
564To cross-compile for <b id="xbox360">Xbox 360</b> from a Windows host, 578Please check out the comments in the corresponding <tt>*.bat</tt>
565open a "Visual Studio .NET Command Prompt" (32&nbsp;bit host compiler), 579file for more options.
566<tt>cd</tt> to the directory where you've unpacked the sources and run
567the following commands:
568</p> 580</p>
569<pre class="code">
570cd src
571xedkbuild
572</pre>
573 581
574<h2 id="embed">Embedding LuaJIT</h2> 582<h2 id="embed">Embedding LuaJIT</h2>
575<p> 583<p>