This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Getting rid of -g
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: Getting rid of -g
- From: Roman Lechtchinsky <rl at cs dot tu-berlin dot de>
- Date: Wed, 12 Sep 2001 14:46:10 +0200 (MET DST)
- cc: gcc at gcc dot gnu dot org
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.
Bye
Roman