From help-request at octave dot org Tue Jan 3 02:26:46 2006 Subject: Re: Octave is enormous From: William Poetra Yoga Hadisoeseno To: Mike Miller Cc: A S Hodel , Otto Maddox , help@octave.org Date: Tue, 3 Jan 2006 16:24:32 +0800 Here's my configure options: (I'm using Octave 2.9.4, so it might not be a fair comparison) CFLAGS="-O2" CXXFLAGS="-O2" FFLAGS="-O2" \ ./configure \ --prefix=/usr \ --enable-shared \ --disable-static \ --enable-dl \ --enable-readline \ --disable-picky-flags \ --disable-nls \ --disable-rpath \ --with-zlib \ --with-blas=-lblas \ --with-lapack=-llapack Then make install cd /usr/lib ln -s octave-2.9.4/*.so . cd /usr/bin strip -g * cd /usr/libexec/octave/2.9.4/oct/i686-pc-linux-gnu strip -g * cd /usr/lib/octave-2.9.4 strip -g *.so The resulting size is about 30 MB. Then for octave-forge: ./configure \ --prefix=/usr \ --with-ieee754 make make install cd /usr/libexec/octave/2.9.4/site/oct/i686-pc-linux-gnu/octave-forge rm {bitand,bitmax,bitor,bitxor,builtin,cellfun,chol,deal,dispatch,dispatch_help,pcregexp,regexp,sort,struct}.oct cd /usr/share/octave/2.9.4/site/m/octave-forge rm cell/cell2mat.m rm general/{bitcmp,bitset,bitget,bitshift,blkdiag,char,complex,double,fcnchk,isa,isequal,isunix,ndims,unix}.m rm miscellaneous/{inline,test_inline_1}.m rm plot/orient.m rm strings/{cellstr,str2double,strcmpi,strfind,strmatch,strncmp}.m rm set/{ismember,setdiff,unique}.m rm struct/{fieldnames,isfield,rmfield,struct}.m cd /usr/libexec/octave/2.9.4/site cd exec/i686-pc-linux-gnu strip -g aurecord cd ../.. cd oct/i686-pc-linux-gnu/octave-forge strip -g * cd ../../.. The resulting size is about 10 MB. So the total size is about 40 MB (compare that to ~2GB for Matlab). My system is: william at darkstar:~$ uname -a Linux darkstar 2.4.32 #1 Sun Dec 25 01:17:05 CST 2005 i686 unknown unknown GNU/Linux william at darkstar:~$ gcc -dumpversion 3.4.5 ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------