From 040bcd91411c20d6b07c87f26a396e8b1d66d572 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sun, 6 Nov 2022 15:04:37 +0200 Subject: [PATCH] README: add a section to clarify the installation process on Termux --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 0fcff60df9..e0444aad86 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,18 @@ docker run --rm -it vlang:latest +### 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: