How to produce debugging symbols?
Martin Moeller
mm at bsdsi.com
Wed Mar 26 20:39:39 PST 2003
* Dan Nelson <dnelson at allantgroup.com> [26.03.03 21:13]:
> If it's your program, recompile and link with the -g commandline switch
> added. If it's a base FreeBSD program (or port), edit the Makefile and
> add a line reading "DEBUG_FLAGS=-g" (this will compile with -g and also
> no strip the debugging symbols when the binary gets installed).
Thanks for your response, Dan.
I tried that out with gnuls package in the ports and added
DEBUG_FLAGS=-g
to /usr/ports/misc/gnuls/Makefile
Without any success, though.
--
Martin Möller <mm at bsdsi.com> http://www.bsdsi.com/
GnuPG/PGP DSA ID: 0x3C979285 ICQ # 82221572
I do not accept unsolicited commercial mail. Do not spam me!
More information about the freebsd-questions
mailing list