1
0
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:
Charles WANG 2021-02-07 18:53:26 +08:00 committed by GitHub
parent bfd0bd1fb4
commit 13350681dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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).