GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - atsb/RL_M: Larn - based on 12.0 and 12.3 maintained and developed, directly from the original source code

BranchesTags
Open more actions menu

Latest commit

 

History

302 Commits
302 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
docs
docs
 
 
larnfiles
larnfiles
 
 
mk
mk
 
 
.gitignore
.gitignore
 
 
Dockerfile.cross
Dockerfile.cross
 
 
Larn.rc
Larn.rc
 
 
Makefile
Makefile
 
 
Makefile.alpha
Makefile.alpha
 
 
Makefile.hppa
Makefile.hppa
 
 
Makefile.m68k
Makefile.m68k
 
 
Makefile.macos
Makefile.macos
 
 
Makefile.mingw
Makefile.mingw
 
 
Makefile.powerpc
Makefile.powerpc
 
 
Makefile.powerpc64
Makefile.powerpc64
 
 
Makefile.ultrasparc
Makefile.ultrasparc
 
 
README.md
README.md
 
 
Resource.h
Resource.h
 
 
action.c
action.c
 
 
action.h
action.h
 
 
bill.c
bill.c
 
 
bill.h
bill.h
 
 
build_dos.bat
build_dos.bat
 
 
build_os2.bat
build_os2.bat
 
 
create.c
create.c
 
 
create.h
create.h
 
 
data.c
data.c
 
 
diag.c
diag.c
 
 
diag.h
diag.h
 
 
display.c
display.c
 
 
display.h
display.h
 
 
fortune.c
fortune.c
 
 
fortune.h
fortune.h
 
 
global.c
global.c
 
 
global.h
global.h
 
 
help.c
help.c
 
 
help.h
help.h
 
 
inventory.c
inventory.c
 
 
inventory.h
inventory.h
 
 
io.c
io.c
 
 
io.h
io.h
 
 
larn.h
larn.h
 
 
larn.ico
larn.ico
 
 
larncons.h
larncons.h
 
 
larndata.h
larndata.h
 
 
larnfunc.h
larnfunc.h
 
 
main.c
main.c
 
 
main.h
main.h
 
 
monster.c
monster.c
 
 
monster.h
monster.h
 
 
moreobj.c
moreobj.c
 
 
moreobj.h
moreobj.h
 
 
movem.c
movem.c
 
 
movem.h
movem.h
 
 
nap.c
nap.c
 
 
nap.h
nap.h
 
 
object.c
object.c
 
 
object.h
object.h
 
 
regen.c
regen.c
 
 
regen.h
regen.h
 
 
savelev.c
savelev.c
 
 
savelev.h
savelev.h
 
 
scores.c
scores.c
 
 
scores.h
scores.h
 
 
spells.c
spells.c
 
 
spells.h
spells.h
 
 
spheres.c
spheres.c
 
 
spheres.h
spheres.h
 
 
store.c
store.c
 
 
store.h
store.h
 
 
tok.c
tok.c
 
 
tok.h
tok.h
 
 

Repository files navigation

BUILDING.md

Building Larn for Multiple Architectures

I am the official maintainer of Larn.

Expanding water in the dungeon.

larn_water

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.

1. Overview

Larn can be built in three ways:

  1. Native build on the target system
  2. Cross‑compilation using GCC or Clang
  3. 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

2. Prerequisites

Required:

  • C compiler (GCC, Clang, or vendor compiler)
  • POSIX make
  • curses or ncurses development headers
  • Standard C library

Optional:

  • Cross‑compiler toolchains
  • QEMU for architecture testing
  • SIMH for VAX builds

3. Basic Native UNIX Build

On any UNIX‑like system:

make clean
make

4. Basic Native Windows Build

On any MinGW system (NOT cygwin or MSYS2):

make -f Makefile.mingw clean
make -f Makefile.mingw prep
make -f Makefile.mingw

5. Preparing to Run the Binary:

Larn 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

About

Larn - based on 12.0 and 12.3 maintained and developed, directly from the original source code

Topics

larnrogue-likeroguelikeroguelike-game

Resources

Readme
Activity

Stars

45 stars

Watchers

2 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.