[Mono-list] Re: Bootstrapping

Marcus mathpup@mylinuxisp.com
Wed, 7 Jul 2004 23:38:39 -0500


I have to quote from the page http://gcc.gnu.org/install/prerequisites.html:

``Tools/packages necessary for building GCC

 
``ISO C90 compiler
Necessary to bootstrap the GCC package, although versions of GCC prior to 3.4 
also allow bootstrapping with a traditional (K&R) C compiler. 

``To make all languages in a cross-compiler or other configuration where 
3-stage bootstrap is not performed, you need to start with an existing GCC 
binary (version 2.95 or later) because source code for language frontends 
other than C might use GCC extensions.''



On Wednesday 07 July 2004 11:22 pm, Brandon Knitter wrote:
> > How did you compile GCC?  You need to have a pre-compiled or
> > cross-compiled version of the compiler to build it the first time.  It's
> > the same story here.
>
> GCC has a valid 3 phased bootstraping which builds the compiler in stages. 
> GCC doesn't require a C compiler to be compiled, although it does speed up
> the process.