To -g or not to -g? (was: egcs build report)

Jason Merrill jason@cygnus.com
Thu Aug 6 21:00:00 GMT 1998


>>>>> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> On Wed, 29 Jul 1998, Jeffrey A Law wrote:
>>> (For 1.1 itself we could include a note on how to build without
>>> debug symbols, but still have debuggable libraries, but not change
>>> the code).
>> Agreed.

> Okay, but who'll do that?  I'd really like to see that, but how exactly
> can this -- binaries without debug symbols and libraries with debugging
> information -- be done?

>From the toplevel,

  make CFLAGS=-O 'LIBCFLAGS=-g -O'

should do it.

Jason



More information about the Gcc mailing list