Date: Fri, 21 Nov 1997 19:20:40 +1030 From: Mike Smith <mike@smith.net.au> To: Evan Champion <evanc@synapse.net> Cc: freebsd-current@FreeBSD.org Subject: Re: Stripping the kernel Message-ID: <199711210850.TAA00464@word.smith.net.au> In-Reply-To: Your message of "Fri, 21 Nov 1997 02:23:40 CDT." <Pine.BSF.3.96.971121022020.19960W-100000@cello.synapse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Does anyone else thing this might be a good idea? > > Change /sys/i386/conf/Makefile.i386's install line to: > > install -s -c -m 555 -o root -g wheel -fschg kernel / > > The reason is this: I compiled a kernel with debug symbols (-g) and it > tried to install an 8 MB kernel; stripped, it was 800k. No. If you build a kernel with debug symbols, it is expected that you realise how big it is, and strip it if required before installing it. I will quite often boot full-debug kernels just to get line numbers and filenames from crashes that can't be cored from; this would be very annoying for that sort of thing. mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711210850.TAA00464>