*BSD News Article 71145


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!math.ohio-state.edu!jussieu.fr!oleane!tank.news.pipex.net!pipex!news.mathworks.com!newscaster-1.mcast.net!informatik.uni-bremen.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD striping the debug info from the kernel
Date: 15 Jun 1996 19:18:25 GMT
Organization: Private BSD site, Dresden
Lines: 28
Message-ID: <4pv2a1$84e@uriah.heep.sax.de>
References: <4psneo$p9h@hermes.athenet.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

riff_one@athenet.net (Brian) wrote:

> I am running a 386-40, 8mb, FreeBSD 2.1.0 RELEASE
> 
> 
> Is this the proper sequence for compiling, striping
> and installing a new kernel?
> 
>  /usr/sbin/config MYKERNEL
>  cd ../../compile/MYKERNEL
>  make depend
>  make
>  strip -x kernel
>  make install

No, it ain't.  ``strip -d kernel'' would be the right thing.

strip -d is normally a no-op, unless you have been compiling parts of
your kernel with -g.

All the other unneeded symbols are already stripped by symorder.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)