On 05 Oct 2007, at 08:37, Martin Costabel wrote:

> Jean-François Mertens wrote:
>
> []
>> I think strip -x does this (a.o.). But I wouldn't expect from strip -
>> x a space
>> gain of more than say 30% in general _ we are very far from  the  
>> above
>> differences! (possible  guess would be that on Linux larger parts are
>> left
>> in separate bundles..)
>
> I am seeing a factor 5 to 10, sometimes even 15, between libraries  
> built
> with or without debugging switched on. In boost1.33-shlibs, for  
> example,
> there are both types:
>
> % du -h /sw/lib/libboost_serialization*33*dylib
> 560K    /sw/lib/libboost_serialization-1_33_1.dylib
> 8.6M    /sw/lib/libboost_serialization-d-1_33_1.dylib
>
Amazing !  and you mean debugging turned on means basically only  "- 
g"  ??
A quick check on octave itself :

  # dpkg -L octave|egrep '4.dylib'|xargs ls -l
-rwxr-xr-x 1 root admin    979360 Sep 23 23:48 /sw/lib/octave-2.9.14/ 
libcruft.2.9.14.dylib
-rwxr-xr-x 1 root admin  89789536 Sep 23 23:48 /sw/lib/octave-2.9.14/ 
liboctave.2.9.14.dylib
-rwxr-xr-x 1 root admin 171056924 Sep 23 23:56 /sw/lib/octave-2.9.14/ 
liboctinterp.2.9.14.dylib
# dpkg -L octave|egrep '4.dylib'|xargs strip -x
# dpkg -L octave|egrep '4.dylib'|xargs ls -l
-rwxr-xr-x 1 root admin   655004 Oct  5 16:48 /sw/lib/octave-2.9.14/ 
libcruft.2.9.14.dylib
-rwxr-xr-x 1 root admin  9458752 Oct  5 16:48 /sw/lib/octave-2.9.14/ 
liboctave.2.9.14.dylib
-rwxr-xr-x 1 root admin 11107696 Oct  5 16:48 /sw/lib/octave-2.9.14/ 
liboctinterp.2.9.14.dylib

(strangely liboctave even gained a couple of M... !)


Jean-Francois
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to