Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 21:38:15 +0100
From:      Martin Moeller <mm@bsdsi.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to produce debugging symbols?
Message-ID:  <20030326203815.GA40945@bsdsi.homeunix.com>
In-Reply-To: <20030326201149.GE31787@dan.emsphone.com>
References:  <20030326200449.GB967@bsdsi.homeunix.com> <20030326201149.GE31787@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dan Nelson <dnelson@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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326203815.GA40945>