From owner-freebsd-questions Sun Feb 9 9:58:55 2003 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 4447037B401 for ; Sun, 9 Feb 2003 09:58:54 -0800 (PST) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C10BC43FAF for ; Sun, 9 Feb 2003 09:58:52 -0800 (PST) (envelope-from flynn@energyhq.homeip.net) Received: from christine.energyhq.tk (christine.energyhq.tk [192.168.0.1]) by energyhq.homeip.net (Postfix) with SMTP id 280A0AF5C5; Sun, 9 Feb 2003 18:58:44 +0100 (CET) Date: Sun, 9 Feb 2003 18:58:07 +0100 From: Miguel Mendez To: Daniela Cc: freebsd-questions@freebsd.org Subject: Re: Automatically include debug symbols? Message-Id: <20030209185807.3927b1fb.flynn@energyhq.homeip.net> In-Reply-To: <200302091847.39504.dgw@liwest.at> References: <200302091847.39504.dgw@liwest.at> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386--netbsdelf) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE 3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.S(s)gCls0Tn)n1 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 9 Feb 2003 18:47:39 +0100 Daniela wrote: Howdy, > I was wondering how to recompile the whole system with debug symbols. > And how do I automatically include debug symbols when I'm building > ports? You could add something like CFLAGS+=-g to your /etc/make.conf, and probably STRIP_CMD=true so strip doesn't remove that info when you install ports. > I experience so many segmentation faults, and it would be helpful to > have debug symbols everywhere. What kind of programs? Sometimes that's a sign of faulty memory or overheated processor. Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! --=.S(s)gCls0Tn)n1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (NetBSD) iD8DBQE+RpaynLctrNyFFPERAmV6AJ9v5vBcKJ+Y2bNQRkBIazfHlR/q3wCdEDmY Hv3d35RIKcGwaCvnFTAIYb0= =dX9R -----END PGP SIGNATURE----- --=.S(s)gCls0Tn)n1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message