This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How Gcc compile itself ?


"Alan Xin" <xunilwithkrow@gmail.com> writes:

> 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 ?

The normal build of gcc bootstraps the compiler.

http://en.wikipedia.org/wiki/Bootstrapping_(compilers)

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]