From 89e4650baef2f67b12b2a7d9c91a8809f552568a Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 21 Jan 2013 16:43:49 +0100 Subject: Add XBox 360 port. Thanks to Eddie Edwards. --- doc/install.html | 32 +++++++++++++++++++++++++++----- doc/luajit.html | 2 +- 2 files changed, 28 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/install.html b/doc/install.html index 967f25fd..bb625ec8 100644 --- a/doc/install.html +++ b/doc/install.html @@ -134,9 +134,9 @@ operating systems, CPUs and compilers: PPC GCC 4.3+ -GCC 4.3+
GCC 4.1 (PS3) -  +GCC 4.3+
GCC 4.1 (PS3)   +XEDK (XBox 360) PPC/e500v2 @@ -376,7 +376,7 @@ CPU. make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabi- \ TARGET_CFLAGS="-mfloat-abi=soft" -# ARM soft-float ABI with VFP (example for Cortex-a8) +# ARM soft-float ABI with VFP (example for Cortex-A8) make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabi- \ TARGET_CFLAGS="-mcpu=cortex-a8 -mfloat-abi=softfp" @@ -387,8 +387,6 @@ make HOST_CC="gcc -m32" CROSS=arm-linux-gnueabihf- make HOST_CC="gcc -m32" CROSS=powerpc-linux-gnu- # PPC/e500v2 (fast interpreter only) make HOST_CC="gcc -m32" CROSS=powerpc-e500v2-linux-gnuspe- -# PS3 (fast interpreter only) -make HOST_CC="gcc -m32" CROSS=ppu-lv2- # MIPS big-endian make HOST_CC="gcc -m32" CROSS=mips-linux- @@ -460,6 +458,30 @@ ISDKF="-arch armv7 -isysroot $ISDK/SDKs/$ISDKVER" make HOST_CC="gcc -m32 -arch i386" CROSS=$ISDKP TARGET_FLAGS="$ISDKF" \ TARGET_SYS=iOS +

+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, +too). Due to restrictions on consoles, the JIT compiler is disabled and +only the fast interpreter is built: +

+
+make HOST_CC="gcc -m32" CROSS=ppu-lv2-
+
+

+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. +

+

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

+
+cd src
+xedkbuild
+

Embedding LuaJIT

diff --git a/doc/luajit.html b/doc/luajit.html index 8fb0e05f..51338412 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -158,7 +158,7 @@ LuaJIT is Copyright © 2005-2012 Mike Pall, released under the WindowsLinuxBSDOSXPOSIX - +
EmbeddedAndroidiOSPS3
EmbeddedAndroidiOSPS3XBox 360
-- cgit v1.2.3-55-g6feb
GCCCLANG
LLVM
MSVC