docs: add links to download C compilers

pull/13984/head
Nick Treleaven 2022-04-09 12:57:37 +01:00
parent 2d867a2766
commit ab310c8271
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,8 @@ git clone https://github.com/vlang/v
cd v cd v
make make
``` ```
See [here](https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Linux-and-macOS)
for how to install the development tools.
### Windows: ### Windows:
You need `git`, and a C compiler like `tcc`, `gcc`, `clang` or `msvc`: You need `git`, and a C compiler like `tcc`, `gcc`, `clang` or `msvc`:
@ -38,6 +40,9 @@ 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 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). easy to install (V will download a prebuilt binary automatically).
For C compiler downloads and more info, see
[here](https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Windows).
It is recommended to add this folder to the PATH of your environment variables. It is recommended to add this folder to the PATH of your environment variables.
This can be done with the command `v.exe symlink`. This can be done with the command `v.exe symlink`.