Angus> Hi all, I've just noticed the size of the binary of lyx-cvs:
Angus> -rwxr-xr-x 1 aleem users 32768000 Mar 27 11:36 src/lyx*
Angus> That's 32MB!
JMarc> I get only:
JMarc> -rwxr--r-- 1 lasgoutt meval 11968512 Mar 21 15:59 lyx
JMarc> But that's because I do not use the new-and-improved egcs with fancy
JMarc> bloat-o-matic :)
Allan> Actually it's because Angus has compiled with exceptions. These are the
Allan> sizes of the compile rae branch aren't they, Angus? (exceptions are now
Allan> enabled by default for that branch) In which case the answer is: Yes.
Allan> Exceptions do add an awful lot of debugging info to a binary. Which is
Allan> why the stripped binary's size is so much smaller.
Allan> I think the record for binary size would be about 50MB when compiling with
Allan> exceptions, SGI's STL, without-included-string and full debugging info.
Actually, that was the head branch of CVS, compiled without
exceptions. Compiling the rae branch with exceptions gives
me a slightly SMALLER unstripped binary of 28MB. Stripping
it produces a slightly larger 3.1MB.
Angus