[Top][All Lists]

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

Re: [Tinycc-devel] tcc bootstrap

From: Christian Jullien
Subject: Re: [Tinycc-devel] tcc bootstrap
Date: Mon, 10 Mar 2014 06:47:10 +0100

Hi Patrick and Thomas,

Yes I fully agree that tcc should, by default, be a gcc compiled program.
Also, as Patrick said, having tcc bootstrapped by itself has the following 

- it proves tcc is complete
- it proves tcc does not use gcc extensions, or it implements extensions in a 
compatible way
- it is a very good non-regression test
- it allows to have a decent C compiler without the need to install huge gcc 
suite (useful on ARM boards)

A ./configure --bootstrap may do the job.


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Thomas Preudhomme
Sent: lundi 10 mars 2014 02:19
To: address@hidden
Subject: Re: [Tinycc-devel] tcc bootstrap

Le 2014-03-10 07:27, Patrick Lauer a écrit :
> On Sunday 09 March 2014 17:12:11 Christian Jullien wrote:

I think Patrick summarized things very well.

>> Ok, using gcc -O3 you can generate a tcc that compiles faster any 
>> program than tcc compiled with itself.
> That is mildly funny, but not unexpected ...

And I think that is the main reason why we don't compile tcc with tcc. 
I believe it's important to keep the possibility to demonstrate that tcc is 
capable enough to compile itself but I don't think we should do it by default. 
The most important use case for tcc is to use it for development because it's 
fast to compile programs. If tcc were to be compiled by itself it would be less 
fast (yet still quite fast) so there is not much interest in doing so.

Best regards,


P.S.: Hi Patrick :)

Tinycc-devel mailing list

reply via email to

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