From owner-freebsd-questions Sun Feb 9 12:16:51 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 C03B537B401 for ; Sun, 9 Feb 2003 12:16:48 -0800 (PST) Received: from lilzcluster.liwest.at (lilzclust02.liwest.at [212.33.55.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2011743F85 for ; Sun, 9 Feb 2003 12:16:47 -0800 (PST) (envelope-from dgw@liwest.at) Received: from CM58-27.liwest.at by lilzcluster.liwest.at (8.10.2/1.1.2.11/08Jun01-1123AM) id h19KGbA0001128245; Sun, 9 Feb 2003 21:16:37 +0100 (MET) Content-Type: text/plain; charset="iso-8859-1" From: Daniela To: Mike Meyer Subject: Re: Automatically include debug symbols? Date: Sun, 9 Feb 2003 21:16:33 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-questions@freebsd.org References: <200302091847.39504.dgw@liwest.at> <15942.39589.709632.258724@guru.mired.org> In-Reply-To: <15942.39589.709632.258724@guru.mired.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302092116.33639.dgw@liwest.at> 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 On Sunday 09 February 2003 19:15, Mike Meyer wrote: > You can get everything to build with debug symbols by adding > "CFLAGS=3D-g" to /etc/make.conf. However, the system will strip the > binaries when it installs them. You could probably get the > non-stripped version installed if you really wanted to, but I'd > recommend not doing that, and just using the version in /usr/obj, > which shouldn't be stripped, for debugging. Why shouldn't I do this? Is it just because debug binaries are bigger or = run=20 slower? If so, that's not a problem for me, I have a fast processor and a= lot=20 of memory. > Segmentation faults are pretty rare on all my systems, unless it's > code that is under active development. Are you sure it's not flaky > hardware? Note that not having problems under another OS is *not* a > sign that the hardware isn't flaky. I have always suspected the hardware because on my old computer, everythi= ng=20 worked. But how do I see what the problem really is? Regards Daniela To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message