From owner-freebsd-doc Thu Mar 7 06:21:08 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA10263 for doc-outgoing; Thu, 7 Mar 1996 06:21:08 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA10258 for ; Thu, 7 Mar 1996 06:20:59 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id PAA05406 for freebsd-doc@FreeBSD.org; Thu, 7 Mar 1996 15:20:28 +0100 Message-Id: <199603071420.PAA05406@nixpbe.pdb.sni.de> Subject: Re: config -g KERNEL To: adam@veda.is (Adam David) Date: Thu, 7 Mar 96 15:16:57 MET From: Greg Lehey Cc: freebsd-current@FreeBSD.org, freebsd-doc@FreeBSD.org (FreeBSD Documenters) In-Reply-To: <199603070804.IAA07027@veda.is>; from "Adam David" at Mar 7, 96 8:04 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-doc@FreeBSD.org Precedence: bulk >>> I tried making a kernel with debug symbols, using config -g and strip -x. >> >> I believe this should be 'strip -d', not -x... > > Thanks Marc :) > If so, then handbook223 is incorrect and needs updating, along with any other > such references that might be in the FAQ or handbook. I don't have a machine here to check, but this is definitely one of the problems. One strip option removes local symbols, including a number which have recently been declared static, but which are still used by some programs. Since this time, you need the other option. > Does anyone else think (with me) that /sys/compile/KERNEL/Makefile should > contain the steps necessary for installing a stripped debug kernel, at least > in the 'config -g' case? Definitely. BSDI has done this all along. Greg