This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs build report
- To: mark at markmitchell dot com (Mark Mitchell)
- Subject: Re: egcs build report
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Fri, 19 Jun 98 9:58:59 PDT
- Cc: jbuck at synopsys dot com, pfeifer at dbai dot tuwien dot ac dot at, egcs at cygnus dot com, law at cygnus dot com, tomh at taz dot ccs dot fau dot edu
> I suggest that the autoconf defaults should be changed from `-g -O2'
> to `-O2'. Then, there should be an --enable-debugging (or similar)
> flag to turn on -g, and, for ease of use by all of us full-time
> hackers, an environment variable we could set to tell configure we
> want the old behavior. I'm willing to implement the autoconf hacks,
> if we agree this is thing to do.
>
> Note that I'm suggesting we do this for *all* packages, not just gcc.
I think that having an --enable-debugging/--disable-debugging flag is an
excellent idea. However, consistency between GNU packages is very important to
me, and egcs does not control them all. Therefore I suggest that
--enable-debugging be the default, and we explain to people how to use
--disable-debugging.
I'm starting to think, though, that we need a way to enable only partial
debugging information: for C++ libraries, we need the symbols defining
the structure of a class to be generated, or no code that uses a library
that implements that class is debugged.