Re: Is there any way to disable compiler optimization and enable debug?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: clover white <mywhiteclover(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Is there any way to disable compiler optimization and enable debug?
Date: 2012-04-08 21:04:29
Message-ID: 1333919069.5450.3.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On sön, 2012-04-08 at 14:47 -0400, Andrew Dunstan wrote:
> Try:
>
> CFLAGS=-O0 ./configure --enable-debug ....

Better yet:

./configure CFLAGS=-O0 --enable-debug ....

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2012-04-08 22:16:50 Re: Last gasp
Previous Message Tom Lane 2012-04-08 19:51:02 Re: Re: pg_stat_statements normalisation without invasive changes to the parser (was: Next steps on pg_stat_statements normalisation)