Date: Fri, 21 Nov 1997 21:00:19 +1100 From: Bruce Evans <bde@zeta.org.au> To: evanc@synapse.net, mike@smith.net.au Cc: freebsd-current@FreeBSD.ORG Subject: Re: Stripping the kernel Message-ID: <199711211000.VAA01006@godzilla.zeta.org.au>
next 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. Also, full stripping breaks everything that uses nlist(3) on the kernel. strip(1) supports several forms of partial stipping, but install(1) only supports full stripping. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711211000.VAA01006>