From 6a47e123a4339e33a7942525a19348cd2068b057 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 26 Feb 2014 15:56:07 +0100 Subject: Add PS4 port. Thanks to Eddie Edwards. --- doc/install.html | 20 ++++++++++++++++++-- doc/luajit.html | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'doc') 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: x64 (64 bit) GCC 4.x -  +ORBIS (PS4) GCC 4.x MSVC + SDK v7.0
WinSDK v7.0 @@ -460,7 +460,7 @@ make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \

You can cross-compile for PS3 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:

@@ -468,6 +468,22 @@ only the fast interpreter is built: make HOST_CC="gcc -m32" CROSS=ppu-lv2-

+You can cross-compile for PS4 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. +

+

+Open a "Visual Studio .NET Command Prompt" (64 bit host compiler), +cd to the directory where you've unpacked the sources and run +the following commands. This builds a static library libluajit.a, +which can be linked against your game, just like the Lua library. +

+
+cd src
+ps4build
+
+

You can cross-compile for Xbox 360 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 WindowsLinuxBSDOSXPOSIX - +
EmbeddedAndroidiOSPS3Xbox 360
EmbeddedAndroidiOSPS3PS4Xbox 360
-- cgit v1.2.3-55-g6feb
GCCCLANG
LLVM
MSVC