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: To -g or not to -g? (was: egcs build report)


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


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