diff --git a/doc/changes.html b/doc/changes.html index 2841a371..84f7f9e0 100644 --- a/doc/changes.html +++ b/doc/changes.html @@ -55,9 +55,7 @@ to see whether newer versions are available.
+The x64 port of LuaJIT is still experimental and not enabled by default. +It only contains the interpreter and only builds on Linux/x64 and WIN64 +right now. If you want to give it a try, follow the special build instructions +below. +
++Note that the pure interpreter is quite a bit faster than Lua, but of +course not as fast as the x86 JIT compiler. Work on the x64 JIT compiler +is still ongoing. +
@@ -84,8 +95,8 @@ complete SDK.
E.g. on a current Debian/Ubuntu, install libc6-dev -with the package manager. Currently LuaJIT only builds as a 32 bit -application, so you actually need to install libc6-dev-i386 +with the package manager. Currently LuaJIT builds as a 32 bit +application by default, so you actually need to install libc6-dev-i386 when building on an x64 OS.
@@ -106,6 +117,15 @@ which is probably the default on your system, anyway. Simply run:
make+
+You can force a build of the x64 interpreter on Linux/x64 with the +following command: +
++make CC="gcc -m64" ++
By default modules are only searched under the prefix /usr/local. You can add an extra prefix to the search paths by appending the @@ -122,7 +142,7 @@ in src/Makefile. Change it, if you want to build on an older version.
The top-level Makefile installs LuaJIT by default under /usr/local, i.e. the executable ends up in -/usr/local/bin and so on. You need to have root privileges +/usr/local/bin and so on. You need root privileges to write to this path. So, assuming sudo is installed on your system, run the following command and enter your sudo password:
@@ -157,9 +177,15 @@ Either install one of the open source SDKs GCC plus the required development headers.-Or install Microsoft's Visual C++ (MSVC) — the freely downloadable +Or install Microsoft's Visual C++ (MSVC). The freely downloadable » Express Edition -works just fine. +works just fine, but only contains an x86 compiler. +
++The freely downloadable +» Windows SDK +only comes with command line tools, but this is all you need to build LuaJIT. +It contains x86 and x64 compilers.
Next, download the source package and unpack it using an archive manager @@ -177,6 +203,32 @@ msvcbuild
Then follow the installation instructions below.
++Open a "Windows SDK Command Shell" and select the x86 compiler: +
++setenv /release /x86 ++
+Or select the x64 compiler (this only builds the interpreter right now): +
++setenv /release /x64 ++
+Then cd to the directory where you've unpacked the sources +and run these commands: +
++cd src +msvcbuild ++
+Then follow the installation instructions below. +
Open a command prompt window and make sure the MinGW or Cygwin programs diff --git a/doc/luajit.html b/doc/luajit.html index 029a5919..7c3779d4 100644 --- a/doc/luajit.html +++ b/doc/luajit.html @@ -63,8 +63,10 @@ standard Lua interpreter and can be deployed as a drop-in replacement.
LuaJIT offers more performance, at the expense of portability. It currently runs on all popular operating systems based on x86 CPUs -(Linux, Windows, OSX etc.). It will be ported to x64 CPUs and other -platforms in the future, based on user demand and sponsoring. +(Linux, Windows, OSX etc.). A port to x64 CPUs is currently ongoing — +you can follow its progress in the » git repository. +Other platforms will be supported in the future, based on user demand +and sponsoring.