From owner-freebsd-questions@FreeBSD.ORG Mon May 21 23:00:02 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3958E16A468 for ; Mon, 21 May 2007 23:00:02 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id E7A1613C45E for ; Mon, 21 May 2007 23:00:01 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id s18so1669194wxc for ; Mon, 21 May 2007 16:00:01 -0700 (PDT) Received: by 10.70.29.7 with SMTP id c7mr7866185wxc.1179788401290; Mon, 21 May 2007 16:00:01 -0700 (PDT) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id c53sm12976800wrc.2007.05.21.15.59.59; Mon, 21 May 2007 16:00:00 -0700 (PDT) Date: Mon, 21 May 2007 19:00:44 -0400 To: User Questions Organization: Seibercom.net In-Reply-To: <20070521201215.GA3642@kobe.laptop> References: <509628.88605.qm@web34408.mail.mud.yahoo.com> <20070521201215.GA3642@kobe.laptop> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070521185629.22CA.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.31 [en] From: Gerard Subject: Re: Build with debug symbols X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 23:00:02 -0000 On Monday May 21, 2007 at 04:12:15 (PM) Giorgos Keramidas wrote: > > If I build a port with debugging information; i.e. > > 'make -g', is that debugging information stripped out > > when the program is installed? If so, is there anyway > > to prevent this from happening? > > > > I have been attempting to build 'claws-mail' with > > debugging information; however, when I run the program > > under 'gdb' that information does not appear to be > > present. I heard that there was a 'STRIP' flag I could > > set; however, I cannot find any definitive information > > regarding it. > > # env DEBUG_FLAGS='-g' CFLAGS='' ... > > The DEBUG_FLAGS option turns off symbol stripping. Would that also work if "DEBUG_FLAGS='g'" were placed in the /etc/make.conf file or does it have to be placed in the environment prior to building the port. I assume that the '-g' has to still be placed on the 'make' command when doing the actual build. -- Gerard