Subject: Re: emacs 19.22 with shared libraries
To: None <Mark_Weaver@brown.edu>
From: Roland McGrath <roland@frob.com>
List: current-users
Date: 12/09/1993 23:50:00
   > With the following replacement for src/s/netbsd.h, I have successfully
   > built GNU Emacs 19.22 using the shared C library and shared X libraries.

   How much smaller does it make the emacs executable?

I have not compiled exactly the same version of Emacs statically to compare.

But here for example is the version I was previously using (a
development version somewhere around 19.21), and what I have now.

text	data	bss	dec	hex
921600	606208	0	1527808	175000	/gnu/bin/emacs-19.20.9.2
589824	831488	0	1421312	15b000	/gnu/bin/emacs-19.22

You save on text but pay for much of it with the _DYNAMIC data.
Emacs has more code and symbols of its own than from libraries, I suspect.

My sole motivation for hacking this, in fact, was that the static X
libraries I have (from XFree86 2.0) are not compatible with any C
library I still have, but the shared X libraries are.

------------------------------------------------------------------------------