From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | "Thomas T(dot) Thai" <tom(at)minnesota(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Re: performance hit with --enable-debug |
Date: | 2001-01-14 18:46:10 |
Message-ID: | 27068.979497970@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Tom Lane writes:
>> BTW, it appears to me that configure won't even add the -g unless it
>> thinks the compiler is gcc ... ie, --enable-debug is a no-op on non-gcc
>> compilers. Peter, isn't that a bug?
> In case you're referring to
> if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
> CFLAGS="$CFLAGS -g"
> fi
> this has nothing to do with GCC. $ac_cv_prog_cc_g is set to yes if the
> compiler understands -g.
My mistake, looked at "prog_cc_g" and saw "prog_gcc" :-(
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-01-14 18:47:34 | Re: Re: performance hit with --enable-debug |
Previous Message | Peter Eisentraut | 2001-01-14 18:44:33 | Re: performance hit with --enable-debug |