]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: update INSTALL to mention that TCC is supported
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 15:56:37 +0000 (16:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 15:58:45 +0000 (16:58 +0100)
TinyCC as found at https://repo.or.cz/tinycc.git does work to some extents
and is very convenient for developers, so let's mention it.

INSTALL

diff --git a/INSTALL b/INSTALL
index 2ae98bf6b58851cba09d0757a66c68b129b02b4f..32cf5d91e831194fd06333e9084d605a1459db3c 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -96,6 +96,11 @@ HAProxy requires a working GCC or Clang toolchain and GNU make :
     your operating system is very likely to work with no trouble. Clang >= 3.0
     is also known to work as an alternative solution. Recent versions may emit
     a bit more warnings that are worth reporting as they may reveal real bugs.
+    TCC (https://repo.or.cz/tinycc.git) is also usable for developers but will
+    not support threading and was found at least once to produce bad code in
+    some rare corner cases (since fixed). But it builds extremely quickly
+    (typically half a second for the whole project) and is very convenient to
+    run quick tests during API changes or code refactoring.
 
   - GNU ld (binutils package), with no particular version. Other linkers might
     work but were not tested.