Getting rid of -g
Manfred Hollstein
manfred.h@gmx.net
Wed Sep 12 06:09:00 GMT 2001
Roman Lechtchinsky wrote:
>
> 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. The right thing to do is probably to override
> STAGE1_CFLAGS somewhere but I don't quite see where this can be done.
You should set stage1_cflags to -g0 in your case then.
>
> Bye
>
> Roman
Cheers.
l8er
manfred
More information about the Gcc
mailing list