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: egcs build report



> 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.


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