From owner-freebsd-questions Mon Oct 21 18:42: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2531C37B404 for ; Mon, 21 Oct 2002 18:42:06 -0700 (PDT) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C0B443E8A for ; Mon, 21 Oct 2002 18:42:03 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-034dcwashp0006.dialsprint.net ([65.179.96.6] helo=moo.holy.cow) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 183o3V-0003GU-00; Mon, 21 Oct 2002 18:42:02 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 50AB3B5F1; Mon, 21 Oct 2002 21:44:42 -0400 (EDT) Date: Mon, 21 Oct 2002 21:44:42 -0400 From: parv To: Bill Moran Cc: freebsd-questions@freebsd.org Subject: Re: perl crashing - how to debug?? Message-ID: <20021022014442.GB2742@moo.holy.cow> Mail-Followup-To: Bill Moran , freebsd-questions@freebsd.org References: <3DB48A31.90205@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB48A31.90205@potentialtech.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <3DB48A31.90205@potentialtech.com>, wrote Bill Moran thusly... > > How can I get perl built with debugging symbols so I can dig into > this? I'm a little confused by the build process. this is for perl port... supply -DDEBUGGING option to make when building/installing, along w/ "-g" to the compiler. one way to do that is to edit /etc/make.conf such that CFLAGS has "-g" assigned to it... # in /etc/make.conf CFLAGS= -O -pipe -g ...you can also edit the perl port Makefile if you like to include both options. mind you that perl5.6 port w/ "-DDEBUGGING" option alone didn't build w/ the debugging support the last time i tried. "-g" option was necessary in addition. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message