Subject: Re: How to build optimized with debug symbols

Re: How to build optimized with debug symbols

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 26 Jun 2012 22:40:18 +0200

Gregor Jasny <Gregor.Jasny_at_citrix.com> wrote:

> I noticed that if I do a regular configure any CFLAGS related to
> generating debug output are scrubbed and replaced by ­g0. If I set
> ‹enable-debug the optimization level drops from 2 to 0.
>
> Is there a way to get ­g and ­O2?

./configure --enable-debug --enable-optimize

Although you may not be able to fully debug generated code.

-- 
-=[Yang]=-
Received on 2012-06-26