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.