Getting rid of -g

Andreas Schwab schwab@suse.de
Wed Sep 12 06:48:00 GMT 2001


Roman Lechtchinsky <rl@cs.tu-berlin.de> writes:

|> On Wed, 12 Sep 2001, Franz Sirl wrote:
|> 
|> > >Yes, but I want to fix configure/makefiles so that the user won't have to
|> > >worry about this.
|> > 
|> > Set stage1_cflags in gcc/configure.in for your platform and regenerate 
|> > gcc/configure. Currently only vax-*-* uses this feature.
|> 
|> This doesn't work because Makefile.in defines STAGE1_CFLAGS as
|> 
|> STAGE1_CFLAGS = -g @stage1_cflags@
|> 
|> i.e. -g is always there.

Set stage1_cflags to -g0.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



More information about the Gcc mailing list