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


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


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