From 9fd1c6c586df3feeed67eb919d4cf06def46fced Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 7 Mar 2010 17:12:21 +0100 Subject: Add OS/CPU/CC compatibility matrix to docs. Fix spelling. --- doc/install.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 4 deletions(-) (limited to 'doc/install.html') 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 +