воскресенье, 7 ноября 2010 г.

debug symbols

enable debug for test.c file

1.  use -g option in gcc
2. define   FLAG
freebsd:
/etc/make.conf


CFLAGS?=-pipe
WITH_CTF=1
DEBUG_FLAGS=-g