compile a port with debugging symbols?
Michael W. Lucas
mwlucas at blackhelicopters.org
Sat Nov 28 14:07:46 UTC 2009
On Thu, Nov 26, 2009 at 07:12:43PM +0200, Andrew W. Nosenko wrote:
> On Thu, Nov 26, 2009 at 18:10, Michael W. Lucas
> <mwlucas at blackhelicopters.org> wrote:
> > Hi,
> >
> > Is there an approved/offical way to compile a port with debugging
> > symbols?
> >
> > Habitually I've just run "make configure" and then edited Makefiles.
> > But I'm sure that's not what you folks recommend users do...
>
> IIRC, the
> WITH_DEBUG=yes
> knob is what you looking for.
Hi,
WITH_DEBUG builds with -g, but strips net-mgmt/flowd upon install.
Haven't tried others.
I can run and debug the binary in the port working directory, however.
Thanks,
==ml
--
Michael W. Lucas mwlucas at BlackHelicopters.org
http://www.MichaelWLucas.com/
Latest book: Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.com/
More information about the freebsd-ports
mailing list