Re: [Tinycc-devel] How to make TCC support utf8

2022-06-08 Thread Larry Doolittle via Tinycc-devel
lrd -

On Thu, Jun 09, 2022 at 12:01:09PM +0800, lrt via Tinycc-devel wrote:
> Who can tell me how to make TCC support utf8.
> I want to use the Unicode API.

Just .. don't.

‘Trojan Source’ Bug Threatens the Security of All Code
November 1, 2021
https://krebsonsecurity.com/2021/11/trojan-source-bug-threatens-the-security-of-all-code/
(as seen on slashdot)

  - Larry

___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] Clarification about log message in commit 48df89e10e

2021-04-15 Thread Larry Doolittle via Tinycc-devel
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

___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] It seem I pull code in wrong way. How can I revert it?

2020-09-11 Thread Larry Doolittle via Tinycc-devel
Pursuer -

On Fri, Sep 11, 2020 at 11:27:05PM +0800, Pursuer wrote:
> I'm sorry that I pull code in wrong way.
> And now there are many commit like
>   Merge branch 'mob' of git://repo.or.cz/tinycc into mob
> How can I remove them.

Obligatory xkcd:
https://xkcd.com/1597/

There are fancier (and arguably more efficient) ways to recover than
"delete the project, and download a fresh copy".
But they're harder to explain and understand.

  - Larry

___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel