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/install.html | |
| parent | 998651fcdafc8b6f3d922e1e60864fec83409118 (diff) | |
| download | luajit-6a47e123a4339e33a7942525a19348cd2068b057.tar.gz luajit-6a47e123a4339e33a7942525a19348cd2068b057.tar.bz2 luajit-6a47e123a4339e33a7942525a19348cd2068b057.zip | |
Add PS4 port.
Thanks to Eddie Edwards.
Diffstat (limited to 'doc/install.html')
| -rw-r--r-- | doc/install.html | 20 |
1 files changed, 18 insertions, 2 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: | |||
| 120 | <tr class="even"> | 120 | <tr class="even"> |
| 121 | <td class="compatcpu">x64 (64 bit)</td> | 121 | <td class="compatcpu">x64 (64 bit)</td> |
| 122 | <td class="compatos">GCC 4.x</td> | 122 | <td class="compatos">GCC 4.x</td> |
| 123 | <td class="compatos compatno"> </td> | 123 | <td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> |
| 124 | <td class="compatos">GCC 4.x</td> | 124 | <td class="compatos">GCC 4.x</td> |
| 125 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> | 125 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> |
| 126 | </tr> | 126 | </tr> |
| @@ -460,7 +460,7 @@ make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ | |||
| 460 | </pre> | 460 | </pre> |
| 461 | <p> | 461 | <p> |
| 462 | You can cross-compile for <b id="ps3">PS3</b> using the PS3 SDK from | 462 | You can cross-compile for <b id="ps3">PS3</b> using the PS3 SDK from |
| 463 | a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, | 463 | a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, |
| 464 | too). Due to restrictions on consoles, the JIT compiler is disabled and | 464 | too). Due to restrictions on consoles, the JIT compiler is disabled and |
| 465 | only the fast interpreter is built: | 465 | only the fast interpreter is built: |
| 466 | </p> | 466 | </p> |
| @@ -468,6 +468,22 @@ only the fast interpreter is built: | |||
| 468 | make HOST_CC="gcc -m32" CROSS=ppu-lv2- | 468 | make HOST_CC="gcc -m32" CROSS=ppu-lv2- |
| 469 | </pre> | 469 | </pre> |
| 470 | <p> | 470 | <p> |
| 471 | You can cross-compile for <b id="ps4">PS4</b> from a Windows host using | ||
| 472 | the PS4 SDK (ORBIS) plus 64 bit MSVC. Due to restrictions on | ||
| 473 | consoles, the JIT compiler is disabled and only the fast interpreter | ||
| 474 | is built. | ||
| 475 | </p> | ||
| 476 | <p> | ||
| 477 | Open a "Visual Studio .NET Command Prompt" (64 bit host compiler), | ||
| 478 | <tt>cd</tt> to the directory where you've unpacked the sources and run | ||
| 479 | the following commands. This builds a static library <tt>libluajit.a</tt>, | ||
| 480 | which can be linked against your game, just like the Lua library. | ||
| 481 | </p> | ||
| 482 | <pre class="code"> | ||
| 483 | cd src | ||
| 484 | ps4build | ||
| 485 | </pre> | ||
| 486 | <p> | ||
| 471 | You can cross-compile for <b id="xbox360">Xbox 360</b> using the | 487 | You can cross-compile for <b id="xbox360">Xbox 360</b> using the |
| 472 | Xbox 360 SDK (MSVC + XEDK). Due to restrictions on consoles, the | 488 | Xbox 360 SDK (MSVC + XEDK). Due to restrictions on consoles, the |
| 473 | JIT compiler is disabled and only the fast interpreter is built. | 489 | JIT compiler is disabled and only the fast interpreter is built. |
