Re: [lfs-dev] Stripping libraries

2013-02-02 Thread William Harrington
On Aug 31, 2012, at 2:34 AM, Ragnar Thomsen wrote: It is stated in LFS that --strip-unneeded should not be used on libraries, as the static ones will be destroyed. There is already a thread about this which I recall from August: http://www.mailinglistarchive.com/html/lfs-dev@linuxfromscrat

Re: [lfs-dev] Stripping libraries

2012-09-03 Thread Tobias Gasser
Am 31.08.2012 19:35, schrieb Nathan Coulson: >> i'll write about the results as soon as the build is done. i now have (almost) finished my system. xfce is up with firefox and thunderbird. only libreoffice and vlc are missing - but that's another story ;) everything is fine, no errors occurred

[lfs-dev] Stripping libraries

2012-09-01 Thread Tobias Gasser
Tobias Gasser schrieb: > > until now i used --strip-all on binaries. a little googling convinced me > to change my script as --strip-unneeded seems to to have intelligence ;) > there is NO difference in size! at least not with what i've built so far. now i'll go ahead to build x and stay with -

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Tobias Gasser
Nathan Coulson schrieb: > Back when that text was added to the book, --strip-all removed > something from the static libraries that is needed to link to them > (basically making them useless). Symbol table perhaps? i don't strip any static libs. see my script: file xx.a | grep ELF will be empt

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread William Harrington
On Aug 31, 2012, at 02:34 AM, Ragnar Thomsen wrote: > It is stated in LFS that --strip-unneeded should not be used on > libraries, as the static ones will be destroyed. > > I found this page: > http://www.technovelty.org/linux/ > > Which states that --strip-unneeded is safe to use on both shared

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Nathan Coulson
On Fri, Aug 31, 2012 at 10:24 AM, Tobias Gasser wrote: > Baho Utot schrieb: >> >> #-- Options to be used when stripping binaries. See `man strip' for details. >> STRIP_BINARIES="--strip-all" >> #-- Options to be used when stripping shared libraries. See `man strip' >> for details. >> STRIP_SHARED=

[lfs-dev] Stripping libraries

2012-08-31 Thread Tobias Gasser
Baho Utot schrieb: > > #-- Options to be used when stripping binaries. See `man strip' for details. > STRIP_BINARIES="--strip-all" > #-- Options to be used when stripping shared libraries. See `man strip' > for details. > STRIP_SHARED="--strip-unneeded" > #-- Options to be used when stripping sta

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Baho Utot
On 08/31/2012 03:34 AM, Ragnar Thomsen wrote: > It is stated in LFS that --strip-unneeded should not be used on > libraries, as the static ones will be destroyed. > > I found this page: > http://www.technovelty.org/linux/ > > Which states that --strip-unneeded is safe to use on both shared and > st

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Armin K.
On 31.8.2012 9:34, Ragnar Thomsen wrote: > It is stated in LFS that --strip-unneeded should not be used on > libraries, as the static ones will be destroyed. > > I found this page: > http://www.technovelty.org/linux/ > > Which states that --strip-unneeded is safe to use on both shared and > static

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Tobias Gasser
Ragnar Thomsen schrieb: > It is stated in LFS that --strip-unneeded should not be used on > libraries, as the static ones will be destroyed. > > I found this page: > http://www.technovelty.org/linux/ > > Which states that --strip-unneeded is safe to use on both shared and > static libraries, whil

Re: [lfs-dev] Stripping libraries

2012-08-31 Thread Mickaƫl Blanchard
Hello, I read the same page several months ago. So I checked on a testing system : I stripped existing binaries and shared libraries with "--strip-all", and static libraries with "--strip-unneeded". The system remained fully functional, and subsequent linking operations were all successful. So, t

[lfs-dev] Stripping libraries

2012-08-31 Thread Ragnar Thomsen
It is stated in LFS that --strip-unneeded should not be used on libraries, as the static ones will be destroyed. I found this page: http://www.technovelty.org/linux/ Which states that --strip-unneeded is safe to use on both shared and static libraries, while --strip-all is only safe for shared on