README: Explaining how to compile examples with Docker

This commit is contained in:
Rodrigo Alfonso 2025-07-28 02:50:31 -03:00
parent a9359ade1e
commit 9447cdfff3

View File

@ -56,6 +56,18 @@ All the projects understand these Makefile actions:
make [ clean | build | start | rebuild | restart ]
```
Alternatively, you can compile the examples using Docker:
```bash
cd examples/LinkCable_basic
docker run -it \
--user "$(id -u):$(id -g)" \
-v "$(pwd)/../..":/opt/gba \
devkitpro/devkitarm:20241104 \
bash -c "cd /opt/gba/examples/$(basename $PWD) && make rebuild"
```
### C bindings
- To use the libraries in a C project, include the files from the [lib/c_bindings/](lib/c_bindings/) directory.