Build with debug symbols

Giorgos Keramidas keramida at ceid.upatras.gr
Mon May 21 20:14:03 UTC 2007


On 2007-05-20 07:41, White Hat <pigskin_referee at yahoo.com> wrote:
> If I build a port with debugging information; i.e.
> 'make -g', is that debugging information stripped out
> when the program is installed? If so, is there anyway
> to prevent this from happening?
> 
> I have been attempting to build 'claws-mail' with
> debugging information; however, when I run the program
> under 'gdb' that information does not appear to be
> present. I heard that there was a 'STRIP' flag I could
> set; however, I cannot find any definitive information
> regarding it.

    # env DEBUG_FLAGS='-g' CFLAGS='' ...

The DEBUG_FLAGS option turns off symbol stripping.



More information about the freebsd-questions mailing list