mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Misc. updates to docs.
This commit is contained in:
parent
6534152b44
commit
b760add618
@ -84,10 +84,10 @@ code a C compiler would generate. Calls to C functions can
|
||||
be inlined in JIT-compiled code, unlike calls to functions bound via
|
||||
the classic Lua/C API.
|
||||
</p>
|
||||
<p>
|
||||
<p><em>
|
||||
This page gives a short introduction to the usage of the FFI library.
|
||||
Please use the FFI sub-topics in the navigation bar to learn more.
|
||||
</p>
|
||||
<em>Please use the FFI sub-topics in the navigation bar to learn more.</em>
|
||||
</em></p>
|
||||
|
||||
<h2 id="call">Motivating Example: Calling External C Functions</h2>
|
||||
<p>
|
||||
|
@ -80,7 +80,7 @@ applications using the LuaJIT FFI for developers with a C or C++
|
||||
background.
|
||||
</p>
|
||||
<p class="indent" style="color: #c00000;">
|
||||
Please note: this is the first public release of the FFI library. This
|
||||
Please note: this is an early public release of the FFI library. This
|
||||
does not comprise the final specification for the FFI semantics, yet.
|
||||
Some of the semantics may need to be changed, based on feedback from
|
||||
developers. Please <a href="contact.html">report</a> any problems you
|
||||
|
@ -152,9 +152,10 @@ The compiler will happily optimize away such indirections.</dd>
|
||||
<dd>Because it's a compiler — it needs to generate native
|
||||
machine code. This means the code generator must be ported to each
|
||||
architecture. And the fast interpreter is written in assembler and
|
||||
must be ported, too. This is quite an undertaking.<br> Currently only
|
||||
x86, x64 and PPC/e500v2 CPUs are supported. Other architectures will follow
|
||||
based on sufficient user demand and/or sponsoring.</dd>
|
||||
must be ported, too. This is quite an undertaking.<br>
|
||||
The <a href="install.html">install documentation</a> shows the supported
|
||||
architectures. Other architectures will follow based on sufficient user
|
||||
demand and/or sponsoring.</dd>
|
||||
</dl>
|
||||
|
||||
<dl>
|
||||
|
@ -484,7 +484,8 @@ overridden, but it's <em>not</em> recommended, except for special needs
|
||||
like cross-builds:
|
||||
<tt>BUILDMODE, CC, HOST_CC, STATIC_CC, DYNAMIC_CC, CFLAGS, HOST_CFLAGS,
|
||||
TARGET_CFLAGS, LDFLAGS, HOST_LDFLAGS, TARGET_LDFLAGS, TARGET_SHLDFLAGS,
|
||||
LIBS, HOST_LIBS, TARGET_LIBS, CROSS, HOST_SYS, TARGET_SYS</tt></li>
|
||||
TARGET_FLAGS, LIBS, HOST_LIBS, TARGET_LIBS, CROSS, HOST_SYS, TARGET_SYS
|
||||
</tt></li>
|
||||
</ul>
|
||||
<p>
|
||||
The build system has a special target for an amalgamated build, i.e.
|
||||
|
@ -79,8 +79,8 @@ standard Lua interpreter and can be deployed as a drop-in replacement.
|
||||
<p>
|
||||
LuaJIT offers more performance, at the expense of portability. It
|
||||
currently runs on all popular operating systems based on
|
||||
<b>x86</b> or <b>x64 CPUs</b> (Linux, Windows, OSX etc.) or embedded Linux
|
||||
systems based on <b>PPC/e500v2 CPUs</b>.
|
||||
<b>x86</b> or <b>x64</b> CPUs (Linux, Windows, OSX etc.) or embedded
|
||||
systems based on <b>ARM</b> (Android, iOS) or <b>PPC/e500v2</b> CPUs.
|
||||
Other platforms will be supported in the future, based on user demand
|
||||
and sponsoring.
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user