devkitarm quickstart with libtonc

I did something like this:

git clone https://github.com/gbadev-org/libtonc-examples
cd libtonc-examples
docker run -w /build/basic/hello -v `pwd`:/build --rm -ti devkitpro/devkitarm make

And rather cheerfully saw the following result:

hello.c
linking cartridge
built ... hello.gba
ROM fixed!

Furthermore:

nix-shell -p mgba --run "mgba ./basic/hello/hello.gba"

And mgba popped up and ran it!

Tags: devkitpro

Tags

#devkitpro

Navigation

index
tags

created: 2024-10-31

(re)generated: 2025-11-27