On Thu, Jul 8, 2010 at 6:29 AM, xinglp <xin...@gmail.com> wrote: > lfs svn 6.62. Stripping Again > > >>>> /tools/bin/find /{,usr/}{bin,lib,sbin} -type f -exec /tools/bin/strip >>>> --strip-debug '{}' ';' >>>> If disk space is very tight, the --strip-all option can be used on the >>>> binaries in /{,usr/}{bin,sbin} to gain several more megabytes. >>>> Do not use this option on libraries—they will be destroyed. > > I write a simple libxxx.so lib and a app link to it. --strip-all the > libxxx.so. And the app works fine. > --
I think it was only the .a libraries that get damaged w/ --strip-all (makes it unlinkable since you remove the symbols). Not sure what the size difference is, but symbols do not take up much space usually. -- Nathan Coulson (conathan) ------ Location: Brittish Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page