This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
-- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD Student @ ECS University of Southampton, UK
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |