This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How Gcc compile itself ?
- From: "Alan Xin" <xunilwithkrow at gmail dot com>
- To: "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 18 Sep 2009 09:24:42 +0800
- Subject: How Gcc compile itself ?
Hi all,
Recently, I do some modification in Gcc-4.2.4 in several files like c-parser.c, c-decl.c, c-common.c. And when I recompile the patched gcc, I found the modification effect the new gcc in construction processing.
In my conjecture, Gcc first build part of it , and use this part to compile other part ,then the modification affect itself.
How does this happen exactly? Is there any paper or doc talking about this part ?
Thanks~