This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting rid of -g


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]