[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Clarification about log message in commit 48df89e10e
From: |
Larry Doolittle |
Subject: |
Re: [Tinycc-devel] Clarification about log message in commit 48df89e10e |
Date: |
Thu, 15 Apr 2021 08:41:09 -0700 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Colleagues -
On Thu, Apr 15, 2021 at 05:06:02PM +0200, Michael Matz wrote:
> On Sun, 11 Apr 2021, Stefanos wrote:
> > The following line in commit 48df89e10e confused me a bit: "don't use
> > c99 in tcc (array designators etc.)"
> > Which C version is being used in TCC's implementation, can you please
> > clarify?
> If you restrict yourself to c89 that would match the requirement. The
> actual requirement is rather: "needs to be compilable with an old msvc".
I'd generalize from that. Some of the many use cases for tcc are in
the bootstrapping category: start from an old/substandard C compiler
(e.g., old msvc, or mescc) to get a more modern/standard C compiler.
The next step is sometimes using tcc to compile gcc-2.95.0 or gcc-4.7.4,
which gets you a usable C++ compiler. Lots gets written on this topic.
Here's one link, that prominently mentions TinyCC:
https://bootstrappable.org/projects/mes.html
- Larry