summaryrefslogtreecommitdiff
path: root/doc/install.html
diff options
context:
space:
mode:
authorMike Pall <mike>2010-03-07 17:12:21 +0100
committerMike Pall <mike>2010-03-07 17:12:21 +0100
commit9fd1c6c586df3feeed67eb919d4cf06def46fced (patch)
tree423bd01aefd273595ef467f275bddbba870f848f /doc/install.html
parent6769397d381ffb41ff27ea09bf8d1321d829c13d (diff)
downloadluajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.tar.gz
luajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.tar.bz2
luajit-9fd1c6c586df3feeed67eb919d4cf06def46fced.zip
Add OS/CPU/CC compatibility matrix to docs. Fix spelling.
Diffstat (limited to 'doc/install.html')
-rw-r--r--doc/install.html57
1 files changed, 53 insertions, 4 deletions
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">
12table.compat {
13 line-height: 1.2;
14 width: 35em;
15}
16tr.compathead td {
17 font-weight: bold;
18}
19td.compatos {
20 width: 40%;
21}
22td.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):
50make &amp;&amp; sudo make install 66make &amp;&amp; sudo make install
51</pre> 67</pre>
52<p> 68<p>
53LuaJIT currently builds out-of-the box on all popular x86 or x64 systems 69LuaJIT currently builds out-of-the box on most x86 or x64 systems.
54(Linux, Windows, OSX etc.). 70Here's the compatibility matrix for the supported combinations of
55</p> 71operating 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>
246You can cross-compile to a 32 bit binary on a multilib x64 OS by 290You can cross-compile to a 32 bit binary on a multilib x64 OS by
247installing the multilib development pacakges (e.g. <tt>libc6-dev-i386</tt> 291installing the multilib development packages (e.g. <tt>libc6-dev-i386</tt>
248on Debian/Ubuntu) and running: 292on 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>
331It's recommended to <tt>rebase</tt> all (self-compiled) shared libraries
332which are loaded at runtime on OSX/x64 (e.g. C extension modules for Lua).
333See: <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">