Re: Call for port reports - Mailing list pgsql-hackers

From Kevin Brown
Subject Re: Call for port reports
Date
Msg-id 20031025222645.GG6073@filer
Whole thread Raw
In response to Re: Call for port reports  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Call for port reports
List pgsql-hackers
Bruce Momjian wrote:
> How does everyone like this patch?  It removes -g from non-debug
> compiles, and changes -O2 to -O for FreeBSD/Alpha.

I'd be hesitant to remove -g from non-debug compiles.  If something
crashes, it's useful to be able to get a good stacktrace from the
resulting core file.  The -g option makes that possible for optimized
code when compiling with gcc.

Is there any way we can have configure put -g in when it detects gcc?



-- 
Kevin Brown                          kevin@sysexperts.com


pgsql-hackers by date:

Previous
From: Johan Henselmans
Date:
Subject: Re: Call for port reports
Next
From: Andrew Dunstan
Date:
Subject: Re: Call for port reports