Mail Archives: djgpp-workers/1999/11/14/06:33:45
On Sun, 14 Nov 1999, Laurynas Biveinis wrote:
> 1) Stage 1 - System compiler compiles GCC's C compiler only
> 2) Stage 2 - That C compiler from stage 1 compiles itself again, also it
> compiles C++, Fortran etc. compilers.
> 3) Stage 3 - C compiler from stage 2 compiles itself and C++, Fortran etc. one
> more time.
> 4) Stage 2 and stage 3 compilers are compared - if they differ, it indicates a
> bug in gcc.
You describe the bootstrap, all right. However, if a previous version
of GCC is already installed, you don't need all those steps. You can
simply do stage 1 and 2, or even directly stage 2.
That's how all versions of GCC up to (and including) 2.8.x were
compiled for DJGPP. I do the same on Unix if some version of GCC
is already available.
- Raw text -