ADOM-ARMEL is dynamically linked
issueid=1271 10-06-2012 12:22 PM
Junior Member
Number of reported issues by AtomicDryad: 1
ADOM-ARMEL is dynamically linked
Rebuilding the linux (Raspbian) port with -static will allow it to run on a metric ton of devices

Just what it says on the tin, see I basically ripped
from Raspbian and run with
/path/to/libs/ --library-path /path/to/libs /path/to/adom
on a smartphone.

Recompiling with -static will result in a larger binary, however there's much much wider playbase for all the other Linux ARM devices out there (Especially Android).
Also, this will future-proof it from library incompatibilities in Raspbian.

A native android port would require code changes, I think; Android's libc is a stripped down minimalist mess, and has obscure bugs within. Alternatively, compiling static with uclibc (via buildroot) would produce a portable binary that's not quite so large of a pig.

Caveat; a stripped down terminfo + wrapper script might still be required (on android at least). By default, non-rooted stock devices don't include any sort of terminfo database, and terminal/connectbot shells don't have the TERM or HOME environment variables set.
Issue Details
Issue Number 1271
Issue Type Feature
Project ADOM (Ancient Domains Of Mystery)
Category Linux
Status Implemented
Priority 5 - Medium
Suggested Version ADOM 1.2.0 pre 4
Implemented Version ADOM 1.2.0 pre 17
Milestone (none)
Votes for this feature 2
Votes against this feature 0
Assigned Users jt
Tags (none)

12-07-2012 04:51 AM
Issue Changed by adom-admin
  • User assignments modified

10-05-2013 12:06 PM
Issue Changed by jt
  • Status changed from Suggested to Implemented
  • Issue marked as addressed
  • Addressed version changed from Unknown to ADOM 1.2.0 pre 17

+ Reply