On 05 Oct 2007, at 00:35, Martin Costabel wrote:

> Philip Lamb wrote:
>> On 5/10/2007, at 6:36 AM, Jonathan Stickel wrote:
>>
>>> I noticed that the library files of octave (2.9.14) are much  
>>> larger, by
>>> and order of magnitude, than those on Linux.  For example,
>>> liboctinterp.2.9.14.dylib is 160 MB on my Mac, but only 10 MB on my
>>> Linux system.
>>
>> They are probably not being stripped during the install. install - 
>> s is
>> need to do stripping with Mac OS X's /usr/bin/install.
>> To confirm this, try running strip -x /path/to/lib on the lib and  
>> see if
>> it shrinks. It is fine to do this on installed binaries from fink.
>
> Another possibility would be to remove the '-g' from the standard
> compiler flags '-g -O2' that are used to compile the c++ parts of  
> octave.

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..)
More aggressive stripping is in general possible when linking, but  
that would
probably require in this case to remove also the eternal makeoctfile  
warning
"stripping disabled on this platform" : the thing seems intentional  
upstream ..

JF Mertens

-------------------------------------------------------------------------
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