diff options
| author | Mike Pall <mike> | 2014-02-26 15:57:13 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2014-02-26 15:57:13 +0100 |
| commit | 9695c5ab46b4621a453839b196bd07421f5300da (patch) | |
| tree | 607900a3dabba6ad88f80f2eb627f5f903282482 /doc/install.html | |
| parent | 2863b1095699404693a50082dd8d19b6c4cad99f (diff) | |
| parent | 6a47e123a4339e33a7942525a19348cd2068b057 (diff) | |
| download | luajit-9695c5ab46b4621a453839b196bd07421f5300da.tar.gz luajit-9695c5ab46b4621a453839b196bd07421f5300da.tar.bz2 luajit-9695c5ab46b4621a453839b196bd07421f5300da.zip | |
Merge branch 'master' into v2.1
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 b2edf3f7..7d698272 100644 --- a/doc/install.html +++ b/doc/install.html | |||
| @@ -122,7 +122,7 @@ operating systems, CPUs and compilers: | |||
| 122 | <tr class="even"> | 122 | <tr class="even"> |
| 123 | <td class="compatcpu">x64 (64 bit)</td> | 123 | <td class="compatcpu">x64 (64 bit)</td> |
| 124 | <td class="compatos">GCC 4.x</td> | 124 | <td class="compatos">GCC 4.x</td> |
| 125 | <td class="compatos compatno"> </td> | 125 | <td class="compatos">ORBIS (<a href="#ps4">PS4</a>)</td> |
| 126 | <td class="compatos">GCC 4.x</td> | 126 | <td class="compatos">GCC 4.x</td> |
| 127 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> | 127 | <td class="compatos">MSVC + SDK v7.0<br>WinSDK v7.0</td> |
| 128 | </tr> | 128 | </tr> |
| @@ -462,7 +462,7 @@ make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ | |||
| 462 | </pre> | 462 | </pre> |
| 463 | <p> | 463 | <p> |
| 464 | You can cross-compile for <b id="ps3">PS3</b> using the PS3 SDK from | 464 | You can cross-compile for <b id="ps3">PS3</b> using the PS3 SDK from |
| 465 | a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, | 465 | a Linux host or a Windows host (requires 32 bit MinGW (GCC) on the host, |
| 466 | too). Due to restrictions on consoles, the JIT compiler is disabled and | 466 | too). Due to restrictions on consoles, the JIT compiler is disabled and |
| 467 | only the fast interpreter is built: | 467 | only the fast interpreter is built: |
| 468 | </p> | 468 | </p> |
| @@ -470,6 +470,22 @@ only the fast interpreter is built: | |||
| 470 | make HOST_CC="gcc -m32" CROSS=ppu-lv2- | 470 | make HOST_CC="gcc -m32" CROSS=ppu-lv2- |
| 471 | </pre> | 471 | </pre> |
| 472 | <p> | 472 | <p> |
| 473 | You can cross-compile for <b id="ps4">PS4</b> from a Windows host using | ||
| 474 | the PS4 SDK (ORBIS) plus 64 bit MSVC. Due to restrictions on | ||
| 475 | consoles, the JIT compiler is disabled and only the fast interpreter | ||
| 476 | is built. | ||
| 477 | </p> | ||
| 478 | <p> | ||
| 479 | Open a "Visual Studio .NET Command Prompt" (64 bit host compiler), | ||
| 480 | <tt>cd</tt> to the directory where you've unpacked the sources and run | ||
| 481 | the following commands. This builds a static library <tt>libluajit.a</tt>, | ||
| 482 | which can be linked against your game, just like the Lua library. | ||
| 483 | </p> | ||
| 484 | <pre class="code"> | ||
| 485 | cd src | ||
| 486 | ps4build | ||
| 487 | </pre> | ||
| 488 | <p> | ||
| 473 | You can cross-compile for <b id="xbox360">Xbox 360</b> using the | 489 | You can cross-compile for <b id="xbox360">Xbox 360</b> using the |
| 474 | Xbox 360 SDK (MSVC + XEDK). Due to restrictions on consoles, the | 490 | Xbox 360 SDK (MSVC + XEDK). Due to restrictions on consoles, the |
| 475 | JIT compiler is disabled and only the fast interpreter is built. | 491 | JIT compiler is disabled and only the fast interpreter is built. |
