Date: Sat, 28 Nov 2009 16:37:23 +0100 From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= <marius@nuenneri.ch> To: "Michael W. Lucas" <mwlucas@blackhelicopters.org> Cc: ports@freebsd.org, "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com> Subject: Re: compile a port with debugging symbols? Message-ID: <b649e5e0911280737u788c4cedi6448c775398a0a2b@mail.gmail.com> In-Reply-To: <20091128140745.GA30774@bewilderbeast.blackhelicopters.org> References: <20091126161036.GA21283@bewilderbeast.blackhelicopters.org> <6161f3180911260912t506a062aq29f2c0dae506421d@mail.gmail.com> <20091128140745.GA30774@bewilderbeast.blackhelicopters.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 28, 2009 at 15:07, Michael W. Lucas <mwlucas@blackhelicopters.org> wrote: > 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 >> =A0 WITH_DEBUG=3Dyes >> 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. > # make WITH_DEBUG=3Dyes STRIP=3D install
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0911280737u788c4cedi6448c775398a0a2b>