Is there a way to install without TCC? #17951
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
tcc is downloaded and installed by default because it is much, much faster compiling that gcc/clang. This is important for development because you get much faster turnaround while developing your code. However, if you can stand to put up with the very noticeably slower compile times, you can set the env var tcc will still be downloaded, but never used. |
Beta Was this translation helpful? Give feedback.
-
Your setup is not what everybody has. There can be many new users of V who don't have GCC or other C compilers installed. TCC is very small, quick, and useful in such circumstances.
I do agree with this point, where TCC could be an optional download. But of the opinion that TCC should be a default, and there being a flag to not download, for those that don't want it. Even after the V backend has become mature, various people can like or need a small and fast C compiler (as TCC is), as V will still have its C backend. |
Beta Was this translation helpful? Give feedback.
-
Currently, no. |
Beta Was this translation helpful? Give feedback.
tcc is downloaded and installed by default because it is much, much faster compiling that gcc/clang.
This is important for development because you get much faster turnaround while developing your code.
However, if you can stand to put up with the very noticeably slower compile times, you can set the env var
VFLAGS='-cc gcc'
and usedmake -gcc
on install.tcc will still be downloaded, but never used.