On Mon, Mar 27, 2000 at 11:38:45AM +0100, Angus Leeming wrote:
> Hi all,
>
> I've just noticed the size of the binary of lyx-cvs:
> -rwxr-xr-x 1 aleem users 32768000 Mar 27 11:36 src/lyx*
>
> That's 32MB!
>
> Stripping it:
> -rwxr-xr-x 1 aleem users 2473984 Mar 27 11:37 src/lyx*
>
> That's 2.5MB.
>
> Are these figues representative??
> I'm using
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> and have shared library versions of
> libforms.so, libXpm.so, libiberty.so, libc.so, libm.so,
> libX11.so, libdnet_stub.so
>
That 32MB seems way too big. If you use ldd on your binary you should find
out what shared libraries it uses.
Here are my info: (lyx is the optimized binary, lyxgdb is the debuggable one,
both are from the latest CVS):
[kayvan@camel ~]$ ls -l /usr/bin/lyx
-rwxr-xr-x 1 root root 2348942 Mar 24 13:54 /usr/bin/lyx*
[kayvan@camel ~]$ ls -l /usr/bin/lyxgdb
-rwxr-xr-x 1 root root 12151989 Mar 24 14:01 /usr/bin/lyxgdb*
[kayvan@camel ~]$
[kayvan@camel ~]$ ldd /usr/bin/lyx
libforms.so.0.88 => /usr/X11R6/lib/libforms.so.0.88 (0x40018000)
libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4009b000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400a8000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400c8000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x4016c000)
libm.so.6 => /lib/libm.so.6 (0x401ae000)
libc.so.6 => /lib/libc.so.6 (0x401cb000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory