From owner-freebsd-questions@FreeBSD.ORG Thu Feb 22 21:03:38 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 AD83816A402 for ; Thu, 22 Feb 2007 21:03:38 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id 74E7013C4B2 for ; Thu, 22 Feb 2007 21:03:38 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 69so367567wra for ; Thu, 22 Feb 2007 13:03:37 -0800 (PST) Received: by 10.90.71.12 with SMTP id t12mr1109897aga.1172178217751; Thu, 22 Feb 2007 13:03:37 -0800 (PST) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id g9sm2200066wra.2007.02.22.13.03.37; Thu, 22 Feb 2007 13:03:37 -0800 (PST) Date: Thu, 22 Feb 2007 16:03:52 -0500 From: Gerard To: freebsd-questions@freebsd.org Organization: Seibercom.NET 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: <20070222160325.8AE0.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.30.03 [en] Subject: How to build program with debug symbols X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 21:03:38 -0000 FreeBSD-6.2 I need to know how to build a program with debugging symbols. The problem I am having is that claws-mail-2.7.2 continually crashes but does not display any debug symbols. I talked with the claws-mail people, and they advised me to build a version with debug symbols since the output I supplied them was useless without it. Their suggestion was that I build from a tarball and use the proper ‘config’ flags to get debug symbols included in the program. The problem is that I would rather not mess with that scenario, but rather use the port version instead. The port version does have an option to build a debug version, but apparently, the symbols are stripped out when the program is installed. The port maintainer suggested that I use this is the Makefile: "STRIP= #empty" However, he is not even sure if it will work. I just want to find out what the best way to go about this is so that I can get this problem resolved. Thanks! -- Gerard Here is today's useless fact: If you have three quarters, four dimes, and four pennies, you have $1.19. You also have the largest amount of money in coins without being able to make change for a dollar.