From 9fd1c6c586df3feeed67eb919d4cf06def46fced Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 7 Mar 2010 17:12:21 +0100 Subject: [PATCH] Add OS/CPU/CC compatibility matrix to docs. Fix spelling. --- doc/api.html | 8 +++---- doc/changes.html | 2 +- doc/install.html | 55 +++++++++++++++++++++++++++++++++++++++++++++--- doc/running.html | 2 +- 4 files changed, 58 insertions(+), 9 deletions(-) diff --git a/doc/api.html b/doc/api.html index 2d596677..5a57e276 100644 --- a/doc/api.html +++ b/doc/api.html @@ -122,8 +122,8 @@ argument.

If the second argument is true, JIT compilation is also -enabled, disabled or flushed recursively for all subfunctions of a -function. With false only the subfunctions are affected. +enabled, disabled or flushed recursively for all sub-functions of a +function. With false only the sub-functions are affected.

The jit.on and jit.off functions only set a flag @@ -252,8 +252,8 @@ This sets the mode for the function at the stack index idx or the parent of the calling function (idx = 0). It either enables JIT compilation for a function, disables it and flushes any already compiled code or only flushes already compiled code. This -applies recursively to all subfunctions of the function with -LUAJIT_MODE_ALLFUNC or only to the subfunctions with +applies recursively to all sub-functions of the function with +LUAJIT_MODE_ALLFUNC or only to the sub-functions with LUAJIT_MODE_ALLSUBFUNC.

diff --git a/doc/changes.html b/doc/changes.html index c733e5d1..4f3a489c 100644 --- a/doc/changes.html +++ b/doc/changes.html @@ -299,7 +299,7 @@ This release is in sync with Coco 1.1.0 (see the
  • Unified closure checks in jit.*.
  • Fixed some range checks in jit.util.*.
  • Fixed __newindex call originating from jit_settable_str().
  • -
  • Merged with Lua 5.1 alpha (including early bugfixes).
  • +
  • Merged with Lua 5.1 alpha (including early bug fixes).
  • This is the first public release of LuaJIT. diff --git a/doc/install.html b/doc/install.html index 727668cf..ae50ee8d 100644 --- a/doc/install.html +++ b/doc/install.html @@ -8,6 +8,22 @@ +

    @@ -50,9 +66,37 @@ For the impatient (on POSIX systems): make && sudo make install

    -LuaJIT currently builds out-of-the box on all popular x86 or x64 systems -(Linux, Windows, OSX etc.). +LuaJIT currently builds out-of-the box on most x86 or x64 systems. +Here's the compatibility matrix for the supported combinations of +operating system, CPU and compilers:

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Operating systemx86 (32 bit)x64 (64 bit)
    LinuxGCC 4.x
    GCC 3.4
    GCC 4.x
    Windows 98/XP/Vista/7MSVC (EE)
    Windows SDK
    MinGW (GCC)
    Cygwin (GCC)
    MSVC
    Windows SDK
    OSX 10.3-10.6GCC 4.x
    GCC 3.4
    GCC 4.x
    *BSD, otherGCC 4.x
    GCC 3.4
    (not supported)

    Configuring LuaJIT

    @@ -244,7 +288,7 @@ check the comments in src/Makefile. Here are some popular examples:

    You can cross-compile to a 32 bit binary on a multilib x64 OS by -installing the multilib development pacakges (e.g. libc6-dev-i386 +installing the multilib development packages (e.g. libc6-dev-i386 on Debian/Ubuntu) and running:

    @@ -283,6 +327,11 @@ library is loaded or the JIT compiler will not be activated.
     
     -pagezero_size 10000 -image_base 100000000
     
    +

    +It's recommended to rebase all (self-compiled) shared libraries +which are loaded at runtime on OSX/x64 (e.g. C extension modules for Lua). +See: man rebase +