README: add a section to clarify the installation process on Termux

This commit is contained in:
Delyan Angelov 2022-11-06 15:04:37 +02:00
parent 25b8ae2189
commit 040bcd9141
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -165,6 +165,18 @@ docker run --rm -it vlang:latest
</details>
### Termux/Android
On Termux, V needs some packages preinstalled - a working C compiler,
also `libgc` and `libgc-static`. After installing them, you can use the
same script, like on Linux/macos:
```bash
pkg install clang libgc libgc-static
git clone https://github.com/vlang/v
cd v
make
```
## Testing and running the examples
Make sure V can compile itself: