raze/polymer/eduke32/source/lunatic/doc/how_to_build_lunatic.txt
helixhorned 750fbb0a0e Lunatic: slight Makefile tweak for Windows preparation.
Add doc/how_to_build_lunatic.txt and doc/lpeg-lunatic.patch.

git-svn-id: https://svn.eduke32.com/eduke32@3938 1a8010ca-5511-0410-912e-c29ae57300e0
2013-07-07 20:59:14 +00:00

15 lines
724 B
Text

Lunatic depends on the following:
* LuaJIT 2.0.2 or later [http://luajit.org]. It is recommended to get the
latest git HEAD of the 2.0 branch, see http://luajit.org/download.html for
that. As of time of writing, LuaJIT 2.1 is in alpha, and has not been
successfully tested with Lunatic. LuaJIT is built with the following change
to src/luaconf.h:
#define LUAI_MAXCSTACK 64000
(instead of the default 8000.)
* LPeg 0.12 [http://www.inf.puc-rio.br/~roberto/lpeg], but with our patch
"lpeg-lunatic.patch" applied. It will allow to build a statically linked
library of LPeg, "liblpeg.a". On Windows, liblpeg.a is pre-compiled and
resides in platform/Windows/lib/{32,64} [TODO on release].