thank you all I have used --strip-unneeded on all binary and libraries and my BLFS works well. I have another question. what can I do for reduce shared libraries size? there are some tools like mklibs and Library Optimizer. is there anyone used these tools before? what is about prelink in LFS?
with regards On Sun, Apr 28, 2013 at 4:21 AM, Bruce Dubbs <[email protected]> wrote: > Kenno Han wrote: > > First of all, strip should NEVER be ran on running binaries. > > Why? The actual file is not changed while it is in use, although the > directory is changed. The old file just has the references reduced by > one, but not removed until all open instances are closed. > > We run strip in Chapter 6 of LFS and strip runs on its own binary. > > > For the --strip-unneeded option, I wouldn't use that on any sbin > directory. > > Again, I don't see why you think you need debugging symbols in sbin > binaries. > > -- Bruce > > -- > 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
