This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Bootstrap compilers (Was: 3.2 PATCH: Fully support parallel gnat1...)
- From: Geert Bosch <bosch at gnat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>,Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>,Robert Dewar <dewar at gnat dot com>, gcc-patches at gcc dot gnu dot org,gcc at gcc dot gnu dot org, fw at deneb dot enyo dot de
- Date: Fri, 24 May 2002 09:44:26 -0400
- Subject: Bootstrap compilers (Was: 3.2 PATCH: Fully support parallel gnat1...)
On Friday, May 24, 2002, at 02:21 , Zack Weinberg wrote:
> [People building from scratch starting with a C compiler other than
> GCC are up a creek, but I believe that has always been the case for
> the Ada front end.]
Note that in this case one builds using whatever wierd non-GCC
compiler to bootstrap, it is always best to first compile GCC enabling
the C language only. Then use that new compiler to build all languages.
In fact, I think this is a very reasonable procedure and we might
consider
doing this by default. I don't see for example, why the Fortran and Java
compilers need to worry about compatibility with arbitrary old or broken
compilers.
Also this would speed up the bootstrap process, since we would compile
the ObjC/C++/Fortran/Java compilers and libraries just twice. Once
with the stage1 GCC compiler and once with the stage2 compiler.
GNAT would still need a full 3-stage bootstrap of course.
-Geert