[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Do you know of any forks of TinyCC?

From: David Mertens
Subject: Re: [Tinycc-devel] Do you know of any forks of TinyCC?
Date: Fri, 6 May 2016 09:07:39 -0400

Nope. I had to learn by diving into the source myself. But if you want to learn the process of compilation, you should just try to follow the series of function calls to compile code. You could, for example, load tcc in gdb and set a breakpoint on one of the parsing functions, then look at the stack trace. This is how I really started to get my head wrapped around tcc's parsing, at least.


On Fri, May 6, 2016 at 1:16 AM, <address@hidden> wrote:
I want to understand how TCC works, in the way it is now it confuses me greatly. Maybe you know of some forks that maybe dropped some of it's features and made source a bit easier to understand? Or, maybe I should look at some old enough commit, before TCC learned to compile asm code, and things of this sort?

Tinycc-devel mailing list

 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]