Created
November 20, 2022 06:29
-
-
Save karlin/a34c20e2be14b2d660532fde0e490580 to your computer and use it in GitHub Desktop.
Uxn on Alpine Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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