From owner-freebsd-ports@FreeBSD.ORG Sun Apr 6 04:17:00 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 856DB37B404 for ; Sun, 6 Apr 2003 04:17:00 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D20D643F75 for ; Sun, 6 Apr 2003 04:16:58 -0700 (PDT) (envelope-from blueeskimo@gmx.net) Received: (qmail 3220 invoked by uid 65534); 6 Apr 2003 11:16:57 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp017-rz3) with SMTP; 06 Apr 2003 13:16:57 +0200 From: Adam To: Kirill Ponomarew In-Reply-To: <20030406072207.GA24955@krion> References: <1049612828.385.1.camel@jake> <20030406071450.GA24808@krion> <1049613531.385.6.camel@jake> <20030406072207.GA24955@krion> Content-Type: text/plain Organization: Message-Id: <1049627815.385.13.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 06 Apr 2003 07:16:55 -0400 Content-Transfer-Encoding: 7bit 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 11:17:01 -0000 On Sun, 2003-04-06 at 03:22, Kirill Ponomarew wrote: > I think you should try: > > make CFLAGS='-g' STRIP=' ' install clean > > Kirill > (/usr/ports/net/licq) - (root@ttyp9.jake) - (07:10:05) -# make CFLAGS='-g' STRIP=' ' install clean ... >From there it went on to compile just fine, but -g was NOT added to the compiler flags. To verify that no debug symbols were added, I ran licq from within gdb: (gdb) run Starting program: /usr/local/bin/licq (no debugging symbols found)... debugging symbols found)...(no debugging symbols found)... (repeated a few more times) ... Program exited normally. (gdb) -- Adam