From owner-freebsd-ports@FreeBSD.ORG Sat Nov 28 15:37:45 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42FE5106568D for ; Sat, 28 Nov 2009 15:37:45 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id D44FB8FC1A for ; Sat, 28 Nov 2009 15:37:44 +0000 (UTC) Received: by ewy26 with SMTP id 26so2607382ewy.3 for ; Sat, 28 Nov 2009 07:37:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.87.11 with SMTP id x11mr787978wee.16.1259422663179; Sat, 28 Nov 2009 07:37:43 -0800 (PST) In-Reply-To: <20091128140745.GA30774@bewilderbeast.blackhelicopters.org> References: <20091126161036.GA21283@bewilderbeast.blackhelicopters.org> <6161f3180911260912t506a062aq29f2c0dae506421d@mail.gmail.com> <20091128140745.GA30774@bewilderbeast.blackhelicopters.org> From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= Date: Sat, 28 Nov 2009 16:37:23 +0100 Message-ID: To: "Michael W. Lucas" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, "Andrew W. Nosenko" Subject: Re: compile a port with debugging symbols? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2009 15:37:45 -0000 On Sat, Nov 28, 2009 at 15:07, Michael W. Lucas 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 >> 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