configure-build ?

Paolo Bonzini bonzini@gnu.org
Tue Sep 16 05:47:00 GMT 2008


>> BOOT_CFLAGS=-g
>  
> I think that misses a lot, but I'm not certain.

Yes, you're right.

> Anyway, I can imagine the real point of even allowing turning it off for
> "bootstrap" is
> because the bootstrap compiler could be relatively buggy and avoiding
> its optimizer
> is probably a good way to avoid most of the bugs.

stage1 is built only with -g for this reason.

> But still, in case I have to debug anything...
> Actually there is something I need to debug.
> And I can understand, narrow down which source/.o files you want to
> debug and
> rebuild just them without -O2.

yes, that's usually what people do.

Paolo



More information about the Gcc mailing list