From owner-freebsd-hackers Sun Jan 24 09:59:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA28680 for freebsd-hackers-outgoing; Sun, 24 Jan 1999 09:59:31 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA28675 for ; Sun, 24 Jan 1999 09:59:29 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.2/8.9.1) id JAA03845; Sun, 24 Jan 1999 09:59:13 -0800 (PST) (envelope-from dillon) Date: Sun, 24 Jan 1999 09:59:13 -0800 (PST) From: Matthew Dillon Message-Id: <199901241759.JAA03845@apollo.backplane.com> To: Andreas Klemm Cc: hackers@FreeBSD.ORG Subject: Re: How to strip an ELF kernel ? References: <19990124185244.A70682@titan.klemm.gtn.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Hi ! : :If I want to produce a debugging kernel the good handbook :tells me to do something like this: : config -g kconfigfile : cd ../../compile/kconfigfile : make depend all : cp kernel kernel.debug : strip -d kernel : make install : :The -d option vanished in an ELF world ... What method is :preferred now to get rid of debugging stuff, but still be able :to boot the kernel ?! : : Andreas /// :-- :Andreas Klemm http://www.FreeBSD.ORG/~andreas Type 'strip' without any arguments. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message