From owner-freebsd-ports@FreeBSD.ORG Sat Apr 5 23:14:53 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5352537B401 for ; Sat, 5 Apr 2003 23:14:53 -0800 (PST) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AE3F43FB1 for ; Sat, 5 Apr 2003 23:14:52 -0800 (PST) (envelope-from krion@voodoo.oberon.net) Received: from voodoo.oberon.net ([212.118.165.100]) by office.LF.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10) id 1924Mb-000Aok-00 for freebsd-ports@FreeBSD.org; Sun, 06 Apr 2003 09:14:49 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.10) id 1924Mc-0006Sp-00; зг, 06 Сав 2003 09:14:50 +0200 Date: Sun, 6 Apr 2003 09:14:50 +0200 From: Kirill Ponomarew To: Adam Message-ID: <20030406071450.GA24808@krion> Mail-Followup-To: Kirill Ponomarew , Adam , freebsd-ports@FreeBSD.org References: <1049612828.385.1.camel@jake> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1049612828.385.1.camel@jake> X-PGP-Fingerprint: 58E7 B953 57A2 D9DD 4960 2A2D 402D 46E9 AEB4 26E5 X-NCC-Regid: de.oberon Sender: krion cc: freebsd-ports@FreeBSD.org Subject: Re: Compiling ports with debug symbols X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 07:14:53 -0000 Hi, On Sun, Apr 06, 2003 at 03:07:08AM -0400, Adam wrote: > Is there any standard way to add debug symbols to an app when compiling > from ports? > > I've been having many problems with licq lately, and I'd like to help > the developer troubleshoot it, but I can't figure out how to get -g > added to the compile command .. > > I'm sure there's a simple way, but I can't figure out what it is .. Use "CFLAGS= -O -pipe -g" in /etc/make.conf. The most ports use "install -s" additionaly, in the case you can try "make STRIP ' '" Kirill