This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Disabling bootstrap
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 2 Feb 2007 13:15:43 +0100
- Subject: Re: Disabling bootstrap
- References: <11b141710702020346o21193cb5he7ae97e22edeff71@mail.gmail.com>
Hello,
> I've changed gcc by adding a new pass, however, when I compile gcc,
> during compilation it calls itself, so I disabled bootstrap but that
> is still happening even during bootstrap. Is there any way to compile
> gcc without the final gcc compiling something?
make stage1-bubble. See also
http://gcc.gnu.org/wiki/Top-Level_Bootstrap
> Moreover, how can I add a flag to gcc so that it enables/disables a given
> pass?
Add the flag to common.opt, and test it in the gate function of your
pass.
Zdenek