delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/11/14/06:25:38

Message-ID: <382E8342.86EE7678@softhome.net>
Date: Sun, 14 Nov 1999 11:39:14 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: DJGPP Workers <djgpp-workers AT delorie DOT com>
Subject: Re: GCC porting questions
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991114115207 DOT 17579C-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> What is the meaning of ``bootstrapping'' when we are talking about a
> system that doesn't have any compiler but (a previous version of) GCC?

The same (even if we have the same version of GCC which we are bootstraping) -
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.

If you replace `system compiler' with `gcc' here, you'll get meaning of bootstrap
on system with gcc.

> How is this ``boostrapping'' different from a simple build for DJGPP?

AFAIK, they are the same thing. As Andris said, bootstrap is simulated, but
the result is same.

Laurynas Bivienis


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019