Date: Sun, 9 Feb 2003 18:58:07 +0100 From: Miguel Mendez <flynn@energyhq.homeip.net> To: Daniela <dgw@liwest.at> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=.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 <dgw@liwest.at> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030209185807.3927b1fb.flynn>