Skip to content

Commit 040bcd9

Browse files
committed
README: add a section to clarify the installation process on Termux
1 parent 25b8ae2 commit 040bcd9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,18 @@ docker run --rm -it vlang:latest
165165

166166
</details>
167167

168+
### Termux/Android
169+
170+
On Termux, V needs some packages preinstalled - a working C compiler,
171+
also `libgc` and `libgc-static`. After installing them, you can use the
172+
same script, like on Linux/macos:
173+
```bash
174+
pkg install clang libgc libgc-static
175+
git clone https://github.com/vlang/v
176+
cd v
177+
make
178+
```
179+
168180
## Testing and running the examples
169181

170182
Make sure V can compile itself:

0 commit comments

Comments
 (0)