From owner-freebsd-ports@FreeBSD.ORG Sat Apr 5 23:22:09 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 BA0EC37B401 for ; Sat, 5 Apr 2003 23:22:09 -0800 (PST) Received: from office.LF.net (office.LF.net [212.9.190.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1619143FBF for ; Sat, 5 Apr 2003 23:22:09 -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 1924Te-000Awb-00 for freebsd-ports@FreeBSD.org; Sun, 06 Apr 2003 09:22:06 +0200 Received: from krion by voodoo.oberon.net with local (Exim 4.10) id 1924Tf-0007Fa-00; зг, 06 Сав 2003 09:22:07 +0200 Date: Sun, 6 Apr 2003 09:22:07 +0200 From: Kirill Ponomarew To: Adam Message-ID: <20030406072207.GA24955@krion> Mail-Followup-To: Kirill Ponomarew , Adam , freebsd-ports@FreeBSD.org References: <1049612828.385.1.camel@jake> <20030406071450.GA24808@krion> <1049613531.385.6.camel@jake> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1049613531.385.6.camel@jake> X-PGP-Fingerprint: 58E7 B953 57A2 D9DD 4960 2A2D 402D 46E9 AEB4 26E5 X-NCC-Regid: de.oberon Sender: krion cc: Kirill Ponomarew 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:22:10 -0000 Hi, On Sun, Apr 06, 2003 at 03:18:51AM -0400, Adam wrote: > On Sun, 2003-04-06 at 03:14, Kirill Ponomarew wrote: > > Use "CFLAGS= -O -pipe -g" in /etc/make.conf. The most > > ports use "install -s" additionaly, in the case you can try > > "make STRIP ' '" > > Is there no way to do it specifically for a particular port? If not, the > solution you proposed would work, but I'd prefer to set a flag specific > to the application I am wanting to debug (if at all possible). I think you should try: make CFLAGS='-g' STRIP=' ' install clean Kirill