1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

readme: describe tcc as an alternative C backend on linux/windows (#5596)

This commit is contained in:
Ruofan XU 2020-07-08 14:19:45 +08:00 committed by GitHub
parent 9c87ace153
commit 6c48fc1ff9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ v up
### C compiler ### C compiler
You'll need Clang or GCC or Visual Studio. If you are doing development, you most likely already have one of those installed. It's recommended to use Clang or GCC or Visual Studio. If you are doing development, you most likely already have one of those installed.
Otherwise, follow these instructions: Otherwise, follow these instructions:
@ -89,6 +89,8 @@ Otherwise, follow these instructions:
- [Installing a C compiler on Windows](https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Windows) - [Installing a C compiler on Windows](https://github.com/vlang/v/wiki/Installing-a-C-compiler-on-Windows)
However, if none is found when running `make` on Linux or Windows, TCC would be downloaded and set as an alternative C backend. It's very lightweight (several MB) so this shouldn't take too long.
### Symlinking ### Symlinking
NB: it is *highly recommended*, that you put V on your PATH. That saves NB: it is *highly recommended*, that you put V on your PATH. That saves