diff --git a/doc/install.html b/doc/install.html index 8210f476..c3b951e4 100644 --- a/doc/install.html +++ b/doc/install.html @@ -181,6 +181,12 @@ LuaJIT currently builds out-of-the box on most systems:
The codebase has compatibility defines for some more systems, but @@ -577,8 +583,7 @@ make DEFAULT_CC=clang CROSS="$(dirname $ICC)/" \
Building LuaJIT for consoles requires both a supported host compiler -(x86 or x64) and a cross-compiler (to PPC or ARM) from the official -console SDK. +(x86 or x64) and a cross-compiler from the official console SDK.
Due to restrictions on consoles, the JIT compiler is disabled and only @@ -599,55 +604,58 @@ To cross-compile for PS3 from a Linux host (requires make HOST_CC="gcc -m32" CROSS=ppu-lv2-
-To cross-compile for PS4 from a Windows host, -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: +To cross-compile for the other consoles from a Windows host, open a +"Native Tools Command Prompt for VS". You need to choose either the 32 +or the 64 bit version of the host compiler to match the target. +Then cd to the src directory below where you've +unpacked the sources and run the build command given in the table:
--cd src -ps4build -+
Console | +Bits | +Build Command | +
PS4 | +64 | +ps4build | +
PS5 | +64 | +ps5build | +
PS Vita | +32 | +psvitabuild | +
Xbox 360 | +32 | +xedkbuild | +
Xbox One | +64 | +xb1build | +
Nintendo Switch NX32 | +32 | +nxbuild | +
Nintendo Switch NX64 | +64 | +nxbuild | +
-To cross-compile for PS5 from a Windows host, -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: +Please check out the comments in the corresponding *.bat +file for more options.
--cd src -ps5build --
-To cross-compile for PS Vita from a Windows host, -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: -
--cd src -psvitabuild --
-To cross-compile for Xbox 360 from a Windows host, -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: -
--cd src -xedkbuild --
-To cross-compile for Xbox One from a Windows host, -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: -
--cd src -xb1build -
diff --git a/doc/luajit.html b/doc/luajit.html index 06774ddf..03a29528 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -162,7 +162,7 @@ LuaJIT is Copyright © 2005-2022 Mike Pall, released under the
PS3 | PS4 | PS5 | PS Vita | Xbox 360 | Xbox One |
PS3 | PS4 PS5 | PS Vita | Xbox 360 | Xbox One | Nintendo Switch |
GCC | Clang LLVM | MSVC |