docs.md: use `make.bat -tcc` under Windows. (#8555)
parent
bfd0bd1fb4
commit
13350681dd
19
doc/docs.md
19
doc/docs.md
|
@ -20,19 +20,24 @@ 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`:
|
||||
```bash
|
||||
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` or `clang`, and `make`:
|
||||
```bash
|
||||
git clone https://github.com/vlang/v
|
||||
cd v
|
||||
make
|
||||
```
|
||||
|
||||
### Windows:
|
||||
You need `git`, and a C compiler like `tcc`, `gcc`, `clang` or `msvc`:
|
||||
```bash
|
||||
git clone https://github.com/vlang/v
|
||||
cd v
|
||||
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