mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs.md: use make.bat -tcc
under Windows. (#8555)
This commit is contained in:
parent
bfd0bd1fb4
commit
13350681dd
13
doc/docs.md
13
doc/docs.md
@ -20,18 +20,23 @@ The major way to get the latest and greatest V, is to __install it from source__
|
||||
It is __easy__, and it usually takes __only a few seconds__.
|
||||
|
||||
### Linux, macOS, FreeBSD, etc:
|
||||
You need `git`, a C compiler like `gcc` or `clang`, and `make`:
|
||||
You need `git`, and a C compiler like `tcc`, `gcc` or `clang`, and `make`:
|
||||
```bash
|
||||
git clone https://github.com/vlang/v && cd v && make
|
||||
git clone https://github.com/vlang/v
|
||||
cd v
|
||||
make
|
||||
```
|
||||
|
||||
### Windows:
|
||||
You need `git`, and a C compiler like `gcc` or `msvc`:
|
||||
You need `git`, and a C compiler like `tcc`, `gcc`, `clang` or `msvc`:
|
||||
```bash
|
||||
git clone https://github.com/vlang/v
|
||||
cd v
|
||||
make
|
||||
make.bat -tcc
|
||||
```
|
||||
NB: You can also pass one of `-gcc`, `-msvc`, `-clang` to `make.bat` instead,
|
||||
if you do prefer to use a different C compiler, but -tcc is small, fast, and
|
||||
easy to install (V will download a prebuilt binary automatically).
|
||||
|
||||
### Android
|
||||
Running V graphical apps on Android is also possible via [vab](https://github.com/vlang/vab).
|
||||
|
Loading…
Reference in New Issue
Block a user