diff --git a/doc/install.html b/doc/install.html index 9ffa3e64..fc9b93dc 100644 --- a/doc/install.html +++ b/doc/install.html @@ -182,11 +182,11 @@ LuaJIT currently builds out-of-the box on most systems:
The codebase has compatibility defines for some more systems, but @@ -656,20 +656,17 @@ xb1build
To cross-compile for Nintendo Switch 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 -any of the following commands, depending on the NX32 or NX64 target: +open a "Native Tools Command Prompt for VS". Either the x86 version for NX32, +or x64 for the NX64 target; this is because the pointer size of the LuaJIT host +tools (buildvm.exe) must match the one from the cross-compiled target (32 or 64 bits). +
++Then cd to the directory where you've unpacked the sources and run these commands:
cd src -nx32build +nxbuild- -
-cd src -nx64build --
LuaJIT is API-compatible with Lua 5.1. If you've already embedded Lua