[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc bootstrap
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] tcc bootstrap |
Date: |
Mon, 10 Mar 2014 13:12:39 +0100 (CET) |
User-agent: |
Alpine 2.00 (LNX 1167 2008-08-23) |
Hi,
On Mon, 10 Mar 2014, Christian Jullien wrote:
> 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
> advantages:
>
> - 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.
Guys, just look at the testsuite. It's part of that since a long time.
test3 compiles tcctest by a tcc compiled by tcc compiled by tcc compiled
by tcc (i.e. _four_ times, the comment above it is wrong).
Ciao,
Michael.