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: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Wed, 12 Sep 2001 14:41:27 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <5.1.0.14.2.20010912134908.03016448@mail.lauterbach.com>
At 13:53 12.09.2001, Roman Lechtchinsky wrote:
>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.
Set stage1_cflags in gcc/configure.in for your platform and regenerate
gcc/configure. Currently only vax-*-* uses this feature.
Franz.