Skip to content

Instantly share code, notes, and snippets.

@karlin
Created November 20, 2022 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlin/a34c20e2be14b2d660532fde0e490580 to your computer and use it in GitHub Desktop.
Save karlin/a34c20e2be14b2d660532fde0e490580 to your computer and use it in GitHub Desktop.
Uxn on Alpine Linux
# fetch and compile uxn for Alpine, e.g. iSH on iOS
apk add gcc libc-dev git
git clone https://git.sr.ht/~rabbits/uxn
cd uxn
gcc src/uxnasm.c -o bin/uxnasm -L/usr/local/lib --std=c89
gcc src/uxn.c src/devices/system.c src/devices/file.c src/devices/datetime.c src/uxncli.c -o bin/uxncli -L/usr/local/lib --std=c89
bin/uxnasm projects/examples/devices/console.tal bin/console.rom
bin/uxncli bin/console.rom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment