This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: To -g or not to -g? (was: egcs build report)
- To: pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer), egcs at cygnus dot com
- Subject: Re: To -g or not to -g? (was: egcs build report)
- From: Jason Merrill <jason at cygnus dot com>
- Date: 06 Aug 1998 20:59:46 -0700
- References: <9726.901776536@hurl.cygnus.com> <Pine.GSO.4.02.9808062234230.13403-100000.cygnus.egcs@markab.dbai.tuwien.ac.at>
>>>>> 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