From mboxrd@z Thu Jan 1 00:00:00 1970 From: Franz Sirl To: Roman Lechtchinsky Cc: gcc@gcc.gnu.org Subject: Re: Getting rid of -g Date: Wed, 12 Sep 2001 05:41:00 -0000 Message-id: <5.1.0.14.2.20010912143847.04848e90@mail.lauterbach.com> References: <5.1.0.14.2.20010912134908.03016448@mail.lauterbach.com> X-SW-Source: 2001-09/msg00436.html 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.