Getting rid of -g

Roman Lechtchinsky rl@cs.tu-berlin.de
Wed Sep 12 04:58:00 GMT 2001


On Wed, 12 Sep 2001, Franz Sirl wrote:

> >the current release of the C compiler for the Cray T3E has a bug which
> >causes it to miscompile gcc if -g is specified. I'd like to turn this flag
> >off for building gcc on this platform but I'm somewhat confused about how
> >to do this. It doesn't really matter whether this flag is used when
> >building stage2 etc. but it shouldn't be passed to cc when building
> >stage1.
> 
> make bootstrap STAGE1_CFLAGS="-O0 -Wall -W"

Yes, but I want to fix configure/makefiles so that the user won't have to
worry about this.

Bye

Roman




More information about the Gcc mailing list