RE: [HACKERS] --enable-debug

Поиск
Список
Период
Сортировка
От Don Baccus
Тема RE: [HACKERS] --enable-debug
Дата
Msg-id 3.0.1.32.20000126101331.0106c390@mail.pacifier.com
обсуждение исходный текст
Ответ на RE: [HACKERS] --enable-debug  ("Ansley, Michael" <Michael.Ansley@intec.co.za>)
Список pgsql-hackers
At 01:10 PM 1/26/00 +0200, Ansley, Michael wrote:
>When I initially mentioned this, I had tried to debug, only to find that
>there were no symbols.  So I tried the standard autoconf option, which is
>--enable-debug, to get some symbols.  I'm not particularly concerned about
>--cassert, but --enable-debug is the standard autoconf option, and most
>people (developers) are aware of it.  If it's just a synonym for --cassert,
>well, I don't really care.  I just want some symbols to debug with.  I
>landed up fixing it by setting 
>CC=gcc -g -Wall

gmake COPT="-g" all (after a clean) worked for me...that leave -O2 on,
though.  Gcc seems to do a reasonably good job anyway.

We are doing -Wall on Linux, BTW, in case there's any doubt (Tom mentioned
it was used on his platform but I think he's an HP-UX kinda guy).  At
least, when I do a make on my RH 6.1 box with the current sources "-Wall"
is on.




- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: AW: AW: AW: [HACKERS] Some notes on optimizer cost estimates
Следующее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] Inheritance, referential integrity and other constraints