diff options
author | Mike Pall <mike> | 2010-03-07 17:12:21 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-03-07 17:12:21 +0100 |
commit | 9fd1c6c586df3feeed67eb919d4cf06def46fced (patch) | |
tree | 423bd01aefd273595ef467f275bddbba870f848f /doc | |
parent | 6769397d381ffb41ff27ea09bf8d1321d829c13d (diff) | |
download | luajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.tar.gz luajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.tar.bz2 luajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.zip |
Add OS/CPU/CC compatibility matrix to docs. Fix spelling.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.html | 8 | ||||
-rw-r--r-- | doc/changes.html | 2 | ||||
-rw-r--r-- | doc/install.html | 57 | ||||
-rw-r--r-- | doc/running.html | 2 |
4 files changed, 59 insertions, 10 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. | |||
122 | </p> | 122 | </p> |
123 | <p> | 123 | <p> |
124 | If the second argument is <tt>true</tt>, JIT compilation is also | 124 | If the second argument is <tt>true</tt>, JIT compilation is also |
125 | enabled, disabled or flushed recursively for all subfunctions of a | 125 | enabled, disabled or flushed recursively for all sub-functions of a |
126 | function. With <tt>false</tt> only the subfunctions are affected. | 126 | function. With <tt>false</tt> only the sub-functions are affected. |
127 | </p> | 127 | </p> |
128 | <p> | 128 | <p> |
129 | The <tt>jit.on</tt> and <tt>jit.off</tt> functions only set a flag | 129 | The <tt>jit.on</tt> and <tt>jit.off</tt> functions only set a flag |
@@ -252,8 +252,8 @@ This sets the mode for the function at the stack index <tt>idx</tt> or | |||
252 | the parent of the calling function (<tt>idx = 0</tt>). It either | 252 | the parent of the calling function (<tt>idx = 0</tt>). It either |
253 | enables JIT compilation for a function, disables it and flushes any | 253 | enables JIT compilation for a function, disables it and flushes any |
254 | already compiled code or only flushes already compiled code. This | 254 | already compiled code or only flushes already compiled code. This |
255 | applies recursively to all subfunctions of the function with | 255 | applies recursively to all sub-functions of the function with |
256 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the subfunctions with | 256 | <tt>LUAJIT_MODE_ALLFUNC</tt> or only to the sub-functions with |
257 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. | 257 | <tt>LUAJIT_MODE_ALLSUBFUNC</tt>. |
258 | </p> | 258 | </p> |
259 | 259 | ||
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 | |||
299 | <li>Unified closure checks in <tt>jit.*</tt>.</li> | 299 | <li>Unified closure checks in <tt>jit.*</tt>.</li> |
300 | <li>Fixed some range checks in <tt>jit.util.*</tt>.</li> | 300 | <li>Fixed some range checks in <tt>jit.util.*</tt>.</li> |
301 | <li>Fixed __newindex call originating from <tt>jit_settable_str()</tt>.</li> | 301 | <li>Fixed __newindex call originating from <tt>jit_settable_str()</tt>.</li> |
302 | <li>Merged with Lua 5.1 alpha (including early bugfixes).</li> | 302 | <li>Merged with Lua 5.1 alpha (including early bug fixes).</li> |
303 | </ul> | 303 | </ul> |
304 | <p> | 304 | <p> |
305 | This is the first public release of LuaJIT. | 305 | 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 @@ | |||
8 | <meta name="Language" content="en"> | 8 | <meta name="Language" content="en"> |
9 | <link rel="stylesheet" type="text/css" href="bluequad.css" media="screen"> | 9 | <link rel="stylesheet" type="text/css" href="bluequad.css" media="screen"> |
10 | <link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print"> | 10 | <link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print"> |
11 | <style type="text/css"> | ||
12 | table.compat { | ||
13 | line-height: 1.2; | ||
14 | width: 35em; | ||
15 | } | ||
16 | tr.compathead td { | ||
17 | font-weight: bold; | ||
18 | } | ||
19 | td.compatos { | ||
20 | width: 40%; | ||
21 | } | ||
22 | td.compatcc { | ||
23 | width: 30%; | ||
24 | vertical-align: top; | ||
25 | } | ||
26 | </style> | ||
11 | </head> | 27 | </head> |
12 | <body> | 28 | <body> |
13 | <div id="site"> | 29 | <div id="site"> |
@@ -50,9 +66,37 @@ For the impatient (on POSIX systems): | |||
50 | make && sudo make install | 66 | make && sudo make install |
51 | </pre> | 67 | </pre> |
52 | <p> | 68 | <p> |
53 | LuaJIT currently builds out-of-the box on all popular x86 or x64 systems | 69 | LuaJIT currently builds out-of-the box on most x86 or x64 systems. |
54 | (Linux, Windows, OSX etc.). | 70 | Here's the compatibility matrix for the supported combinations of |
55 | </p> | 71 | operating system, CPU and compilers: |
72 | </p> | ||
73 | <table class="compat"> | ||
74 | <tr class="compathead"> | ||
75 | <td class="compatos">Operating system</td> | ||
76 | <td class="compatcc">x86 (32 bit)</td> | ||
77 | <td class="compatcc">x64 (64 bit)</td> | ||
78 | </tr> | ||
79 | <tr class="odd separate"> | ||
80 | <td class="compatos">Linux</td> | ||
81 | <td class="compatcc">GCC 4.x<br>GCC 3.4</td> | ||
82 | <td class="compatcc">GCC 4.x</td> | ||
83 | </tr> | ||
84 | <tr class="even"> | ||
85 | <td class="compatos">Windows 98/XP/Vista/7</td> | ||
86 | <td class="compatcc">MSVC (EE)<br>Windows SDK<br>MinGW (GCC)<br>Cygwin (GCC)</td> | ||
87 | <td class="compatcc">MSVC<br>Windows SDK</td> | ||
88 | </tr> | ||
89 | <tr class="odd"> | ||
90 | <td class="compatos">OSX 10.3-10.6</td> | ||
91 | <td class="compatcc">GCC 4.x<br>GCC 3.4</td> | ||
92 | <td class="compatcc">GCC 4.x</td> | ||
93 | </tr> | ||
94 | <tr class="even"> | ||
95 | <td class="compatos">*BSD, other</td> | ||
96 | <td class="compatcc">GCC 4.x<br>GCC 3.4</td> | ||
97 | <td class="compatcc">(not supported)</td> | ||
98 | </tr> | ||
99 | </table> | ||
56 | 100 | ||
57 | <h2>Configuring LuaJIT</h2> | 101 | <h2>Configuring LuaJIT</h2> |
58 | <p> | 102 | <p> |
@@ -244,7 +288,7 @@ check the comments in <tt>src/Makefile</tt>. Here are some popular examples: | |||
244 | </p> | 288 | </p> |
245 | <p> | 289 | <p> |
246 | You can cross-compile to a 32 bit binary on a multilib x64 OS by | 290 | You can cross-compile to a 32 bit binary on a multilib x64 OS by |
247 | installing the multilib development pacakges (e.g. <tt>libc6-dev-i386</tt> | 291 | installing the multilib development packages (e.g. <tt>libc6-dev-i386</tt> |
248 | on Debian/Ubuntu) and running: | 292 | on Debian/Ubuntu) and running: |
249 | </p> | 293 | </p> |
250 | <pre class="code"> | 294 | <pre class="code"> |
@@ -283,6 +327,11 @@ library is loaded or the JIT compiler will not be activated.</li> | |||
283 | <pre class="code"> | 327 | <pre class="code"> |
284 | -pagezero_size 10000 -image_base 100000000 | 328 | -pagezero_size 10000 -image_base 100000000 |
285 | </pre> | 329 | </pre> |
330 | <p> | ||
331 | It's recommended to <tt>rebase</tt> all (self-compiled) shared libraries | ||
332 | which are loaded at runtime on OSX/x64 (e.g. C extension modules for Lua). | ||
333 | See: <tt>man rebase</tt> | ||
334 | </p> | ||
286 | <br class="flush"> | 335 | <br class="flush"> |
287 | </div> | 336 | </div> |
288 | <div id="foot"> | 337 | <div id="foot"> |
diff --git a/doc/running.html b/doc/running.html index bc09d9e5..bec93f1f 100644 --- a/doc/running.html +++ b/doc/running.html | |||
@@ -129,7 +129,7 @@ systems. | |||
129 | <p> | 129 | <p> |
130 | This options allows fine-tuned control of the optimizations used by | 130 | This options allows fine-tuned control of the optimizations used by |
131 | the JIT compiler. This is mainly intended for debugging LuaJIT itself. | 131 | the JIT compiler. This is mainly intended for debugging LuaJIT itself. |
132 | Please note that the JIT compiler is extremly fast (we are talking | 132 | Please note that the JIT compiler is extremely fast (we are talking |
133 | about the microsecond to millisecond range). Disabling optimizations | 133 | about the microsecond to millisecond range). Disabling optimizations |
134 | doesn't have any visible impact on its overhead, but usually generates | 134 | doesn't have any visible impact on its overhead, but usually generates |
135 | code that runs slower. | 135 | code that runs slower. |