This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting rid of -g
- To: Roman Lechtchinsky <rl at cs dot tu-berlin dot de>
- Subject: Re: Getting rid of -g
- From: Manfred Hollstein <manfred dot h at gmx dot net>
- Date: Wed, 12 Sep 2001 15:09:31 +0200
- CC: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, gcc at gcc dot gnu dot org
- References: <Pine.SOL.4.10.10109121443450.180-100000@sossusvlei>
- Reply-To: manfred dot h at gmx dot net
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