Re: Stripping in Chapter 6

2011-10-31 Thread Jonathan Oksman
On Mon, Oct 31, 2011 at 6:43 PM, Bruce Dubbs wrote: > > Are the numbers in K?  I suspect so. > I forgot to put a size flag when I got the stats from du, so they're in the default amounts du returns. I think that's 512 bytes, so half kilobyte units. Half the numbers below would be in kilobytes.

Re: Stripping in Chapter 6

2011-10-31 Thread Bruce Dubbs
Jonathan Oksman wrote: > Attached is the overall filesize results from stripping. Sorry about > the sloppy formatting, I used tabs by mistake. It'll look best in a > terminal. I split up the comparison of stripping results between > binaries (bin,sbin,usr/bin,usr/sbin) and libraries (lib,usr/lib

Re: Stripping in Chapter 6

2011-10-31 Thread Jonathan Oksman
Attached is the overall filesize results from stripping. Sorry about the sloppy formatting, I used tabs by mistake. It'll look best in a terminal. I split up the comparison of stripping results between binaries (bin,sbin,usr/bin,usr/sbin) and libraries (lib,usr/lib). For both I provided unstrip

Re: Stripping in Chapter 6

2011-10-29 Thread Jonathan Oksman
Jeremy Huntwork wrote: > > According to the link Dan posted, http://www.technovelty.org/linux/strip.html > (I > don't know if anyone in the community has verified yet personally), > --strip-all is the > one to worry about. --strip-unneeded will do the right thing for static libs. > So the > word

Re: Stripping in Chapter 6

2011-10-28 Thread Jeremy Huntwork
On Oct 29, 2011, at 12:26 AM, Bruce Dubbs wrote: > I've already removed it in Chapter 6 and the wording in Chapter 5 is > accurate. Cool, glad you got it in chapter 6. Did you see Jonathan's email? The wording in chapter 5 may not be accurate. It says: "Take care not to use --strip-unneeded on

Re: Stripping in Chapter 6

2011-10-28 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Oct 28, 2011, at 10:42 PM, Bruce Dubbs wrote: >> Well, --strip-unneeded doesn't, but --strip-all on libraries does >> because I think using that would basically destroy static >> libraries. The chance of a user using a wildcard with that is >> reasonably high. > > I fe

Re: Stripping in Chapter 6

2011-10-28 Thread Jeremy Huntwork
On Oct 28, 2011, at 10:42 PM, Bruce Dubbs wrote: > Well, --strip-unneeded doesn't, but --strip-all on libraries does > because I think using that would basically destroy static libraries. The > chance of a user using a wildcard with that is reasonably high. I feel like there must be a misunderst

Re: Stripping in Chapter 6

2011-10-28 Thread Jonathan Oksman
On Fri, Oct 28, 2011 at 10:42 PM, Bruce Dubbs wrote: > > Well, --strip-unneeded doesn't, but --strip-all on libraries does > because I think using that would basically destroy static libraries. The > chance of a user using a wildcard with that is reasonably high. > > Do we have a specific amount o

Re: Stripping in Chapter 6

2011-10-28 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Oct 28, 2011, at 2:41 PM, Bruce Dubbs wrote: > >> Jeremy Huntwork wrote: >>> Maybe recommend using --strip-unneeded instead since that >>> intelligently does the right thing for both types of libs. >> So you recommend instead: >> >> "If disk space is very tight, the --

Re: Stripping in Chapter 6

2011-10-28 Thread Jeremy Huntwork
On Oct 28, 2011, at 2:41 PM, Bruce Dubbs wrote: > Jeremy Huntwork wrote: >> >> Maybe recommend using --strip-unneeded instead since that >> intelligently does the right thing for both types of libs. > > So you recommend instead: > > "If disk space is very tight, the --strip-unneeded option can be

Re: Stripping in Chapter 6

2011-10-28 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Oct 27, 2011, at 11:46 PM, Bruce Dubbs wrote: >> I guess the only thing we should do is change the last sentence in >> section 6.63 to: >> >> Do not use this option on static (.a) libraries—they will be destroyed. > > > Maybe recommend using --strip-unneeded instead s

Re: Stripping in Chapter 6

2011-10-28 Thread Jeremy Huntwork
On Oct 27, 2011, at 11:46 PM, Bruce Dubbs wrote: > I guess the only thing we should do is change the last sentence in > section 6.63 to: > > Do not use this option on static (.a) libraries—they will be destroyed. Maybe recommend using --strip-unneeded instead since that intelligently does the ri

Re: Stripping in Chapter 6

2011-10-27 Thread Bruce Dubbs
Jeremy Huntwork wrote: > On Thu, Oct 27, 2011 at 8:58 AM, Dan Nicholson wrote: >> http://www.technovelty.org/linux/strip.html > > That was a great link, thanks. And nice simple examples you gave, too. > Aye, there indeed be dragons. I guess the only thing we should do is change the last sentence

Re: Stripping in Chapter 6

2011-10-27 Thread Jeremy Huntwork
On Thu, Oct 27, 2011 at 8:58 AM, Dan Nicholson wrote: > http://www.technovelty.org/linux/strip.html That was a great link, thanks. And nice simple examples you gave, too. Aye, there indeed be dragons. JH -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.or

Re: Stripping in Chapter 6

2011-10-27 Thread Dan Nicholson
On Tue, Oct 25, 2011 at 3:57 PM, Jeremy Huntwork wrote: > There appears to be a somewhat bogus statement in section 6.63 > "Stripping Again". It says there: > "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

Stripping in Chapter 6

2011-10-25 Thread Jeremy Huntwork
There appears to be a somewhat bogus statement in section 6.63 "Stripping Again". It says there: "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." The st