Disabling bootstrap
Zdenek Dvorak
rakdver@atrey.karlin.mff.cuni.cz
Fri Feb 2 12:15:00 GMT 2007
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
More information about the Gcc
mailing list