From owner-freebsd-hackers Sun Jan 24 09:53:14 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA27778 for freebsd-hackers-outgoing; Sun, 24 Jan 1999 09:53:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picalon.gun.de (picalon.gun.de [194.77.0.18] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA27769 for ; Sun, 24 Jan 1999 09:53:11 -0800 (PST) (envelope-from andreas@klemm.gtn.com) Received: from klemm.gtn.com (pppak04.gtn.com [194.231.123.169]) by picalon.gun.de (8.8.6/8.8.6) with ESMTP id SAA12791 for ; Sun, 24 Jan 1999 18:52:58 +0100 (MET) Received: (from andreas@localhost) by klemm.gtn.com (8.9.2/8.9.2) id SAA74462 for hackers@FreeBSD.ORG; Sun, 24 Jan 1999 18:52:45 +0100 (CET) (envelope-from andreas) Date: Sun, 24 Jan 1999 18:52:44 +0100 From: Andreas Klemm To: hackers@FreeBSD.ORG Subject: How to strip an ELF kernel ? Message-ID: <19990124185244.A70682@titan.klemm.gtn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP 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 What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message