From 6c48fc1ff9f9549f7ec270473eeb9290f81bf3d6 Mon Sep 17 00:00:00 2001 From: Ruofan XU <47302112+SleepyRoy@users.noreply.github.com> Date: Wed, 8 Jul 2020 14:19:45 +0800 Subject: [PATCH] readme: describe tcc as an alternative C backend on linux/windows (#5596) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b93f044418..b8ca5d40b7 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ v up ### 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: @@ -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) +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 NB: it is *highly recommended*, that you put V on your PATH. That saves