diff options
author | Mike Pall <mike> | 2014-02-26 15:56:07 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2014-02-26 15:56:07 +0100 |
commit | 6a47e123a4339e33a7942525a19348cd2068b057 (patch) | |
tree | bd361431f9a2f6ba821ff6cfb3a1d20034fc6063 /doc | |
parent | 998651fcdafc8b6f3d922e1e60864fec83409118 (diff) | |
download | luajit2-6a47e123a4339e33a7942525a19348cd2068b057.tar.gz |
Add PS4 port.
Thanks to Eddie Edwards.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.html | 20 | ||||
-rw-r--r-- | doc/luajit.html | 2 |
2 files changed, 19 insertions, 3 deletions
diff --git a/doc/install.html b/doc/install.html index 15193b81..baf14690 100644 --- a/doc/install.html +++ b/doc/install.html @@ -120,7 +120,7 @@ operating systems, CPUs and compilers: <tr class="even"> <td class="compatcpu">x64 (64 bit)</td> <td class="compatos">GCC 4.x</td> -<td class="compatos compatno"> </td> +<td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> <td class="compatos">GCC 4.x</td> <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> </tr> @@ -460,7 +460,7 @@ make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ </pre> <p> You can cross-compile for <b id="ps3">PS3</b> using the PS3 SDK from -a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, +a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, too). Due to restrictions on consoles, the JIT compiler is disabled and only the fast interpreter is built: </p> @@ -468,6 +468,22 @@ only the fast interpreter is built: make HOST_CC="gcc -m32" CROSS=ppu-lv2- </pre> <p> +You can cross-compile for <b id="ps4">PS4</b> from a Windows host using +the PS4 SDK (ORBIS) plus 64 bit MSVC. Due to restrictions on +consoles, the JIT compiler is disabled and only the fast interpreter +is built. +</p> +<p> +Open a "Visual Studio .NET Command Prompt" (64 bit host compiler), +<tt>cd</tt> to the directory where you've unpacked the sources and run +the following commands. This builds a static library <tt>libluajit.a</tt>, +which can be linked against your game, just like the Lua library. +</p> +<pre class="code"> +cd src +ps4build +</pre> +<p> You can cross-compile for <b id="xbox360">Xbox 360</b> using the Xbox 360 SDK (MSVC + XEDK). Due to restrictions on consoles, the JIT compiler is disabled and only the fast interpreter is built. diff --git a/doc/luajit.html b/doc/luajit.html index 07ef9b97..43af69c9 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -158,7 +158,7 @@ LuaJIT is Copyright © 2005-2014 Mike Pall, released under the <tr><td>Windows</td><td>Linux</td><td>BSD</td><td>OSX</td><td>POSIX</td></tr> </table> <table class="feature os os2"> -<tr><td><span style="font-size:90%;">Embedded</span></td><td>Android</td><td>iOS</td><td>PS3</td><td>Xbox 360</td></tr> +<tr><td><span style="font-size:90%;">Embedded</span></td><td>Android</td><td>iOS</td><td>PS3</td><td>PS4</td><td>Xbox 360</td></tr> </table> <table class="feature compiler"> <tr><td>GCC</td><td>CLANG<br>LLVM</td><td>MSVC</td></tr> |