I am the official maintainer of Larn.
This document describes how to build Larn 26.4.0 across a wide range of CPU architectures and operating systems.
The modern codebase is fully endian‑neutral, alignment‑safe, and curses‑portable, making it suitable for both native and cross‑compiled builds.
Larn can be built in three ways:
- Native build on the target system
- Cross‑compilation using GCC or Clang
- Emulated build inside QEMU or SIMH
All three methods produce identical binaries.
The build system is intentionally simple:
- Standard POSIX
make - No autoconf, cmake, or external dependencies
- Requires only a C compiler and curses library
- C compiler (GCC, Clang, or vendor compiler)
- POSIX
make cursesorncursesdevelopment headers- Standard C library
- Cross‑compiler toolchains
- QEMU for architecture testing
- SIMH for VAX builds
On any UNIX‑like system:
make clean
makeOn any MinGW system (NOT cygwin or MSYS2):
make -f Makefile.mingw clean
make -f Makefile.mingw prep
make -f Makefile.mingwLarn requires the contents of the 'LARNFILES' directory to be within the same directory as the binary. After that, run the Larn binary to play.
Enjoy!
~Gibbon