Date: Sat, 28 Nov 2009 09:07:45 -0500 From: "Michael W. Lucas" <mwlucas@blackhelicopters.org> To: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com> Cc: ports@freebsd.org, "Michael W. Lucas" <mwlucas@blackhelicopters.org> Subject: Re: compile a port with debugging symbols? Message-ID: <20091128140745.GA30774@bewilderbeast.blackhelicopters.org> In-Reply-To: <6161f3180911260912t506a062aq29f2c0dae506421d@mail.gmail.com> References: <20091126161036.GA21283@bewilderbeast.blackhelicopters.org> <6161f3180911260912t506a062aq29f2c0dae506421d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@BlackHelicopters.org http://www.MichaelWLucas.com/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091128140745.GA30774>