Hi
I am finished building of a BLFS
now because of space optimization, I need to use strip command for reduce
size of binaries and libraries.
I used strip command such that in the LFS book is mentioned:

/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \
  -exec /tools/bin/strip --strip-debug '{}' ';'

but I found can use --strip-unneeded options for save some more space.

can you tell me how to use this option in safe way?



On Sat, Feb 9, 2013 at 6:47 PM, Randy McMurchy
<[email protected]>wrote:

> Hi all,
>
> Here's an FYI for those that were talking about stripping binaries:
>
> root@rmlinux: /home/rml/build/inkscape-0.48.4 > ls -l /usr/bin/ink*
> -rwxr-xr-x 1 root root 142135802 Feb  9 08:05 /usr/bin/inkscape
> -rwxr-xr-x 1 root root 139710678 Feb  9 08:05 /usr/bin/inkview
>
> root@rmlinux: /home/rml/build/inkscape-0.48.4 > strip --strip-all
> /usr/bin/ink{scape,view}
>
> root@rmlinux: /home/rml/build/inkscape-0.48.4 > ls -l /usr/bin/ink*
> -rwxr-xr-x 1 root root 12030636 Feb  9 08:12 /usr/bin/inkscape
> -rwxr-xr-x 1 root root 10055180 Feb  9 08:12 /usr/bin/inkview
>
> --
> Randy
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to