The first thing to do to use gnu lightning is to configure the program, picking the set of macros to be used on the host architecture; this configuration is automatically performed by the configure shell script; to run it, merely type:
gnu lightning supports the
--enable-disassembler option, that
enables linking to GNU binutils and optionally print human readable
disassembly of the jit code. This option can be disabled by the
Another option that configure accepts is
--enable-assertions, which enables several consistency checks in
the run-time assemblers. These are not usually needed, so you can
decide to simply forget about it; also remember that these consistency
checks tend to slow down your code generator.
After you've configured gnu lightning, run make as usual.
gnu lightning has an extensive set of tests to validate it is working correctly in the build host. To test it run:
The next important step is:
This ends the process of installing gnu lightning.