--- Em sáb, 26/1/13, Bruce Dubbs escreveu: > De: Bruce Dubbs > Assunto: Re: [blfs-book] r10979 - in trunk/BOOK > Para: "BLFS Book Maintenance List" > Data: Sábado, 26 de Janeiro de 2013, 13:57 > Fernando de Oliveira wrote: > > > OpenJDK is a package which would be better stripped. ... > > now, I have a reduction in size from about 454M to > 132M. It would be > > good to include some explicit form of stripping it in > the book. > > I'm not sure we want to address stripping on every > package. What I do > is periodically go through and strip all libraries and > remove .la files. > > Stripping is really optional for the user, even though most > will not > want the debug symbols. > > -- Bruce
Thanks, Bruce. I understand that. But for packages which have "big" sizes and/or build times, I believe it would be good to include optional stripping instructions, again, not only for practical, but also for educational purpose. Some criteria could be used to define what "big" means in terms of sizes and build times (of course, this in SBU). Or instead of describing it in some packages, a small paragraph could be added to "Notes on Building Software" (have just looked at it a moment ago and again think how good instructions there are there). As I wrote before, I have many doubts about this strip thing. For example, how to avoid this kind of warnings: "strip:OpenJDK-1.7.0.9-2.3.4/jre/lib/rhino.jar: File format not recognized" or is it possible that after stripping, a package will stop running for some reason and I will have to build it again? This question made me do the opposite of striping: increase the space occupied by a package. How? Keeping the original not-stripped, just in case. I am not doing it anymore. Other question: should I always use "--strip-unneeded", I am not doing it in OpenJDK, only with LibreOffice. If BLFS is not including these explanations, is there a good page to learn about these matters? []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
