Does GNU emacs ever use shared libraries?

David C Lawrence tale at pawl.rpi.edu
Fri May 12 16:36:56 AEST 1989


In article <152 at talarian.UUCP> scott at talarian.UUCP (Scott Weitzenkamp) writes:
>   I noticed that on SunOS 4.0, GNU emacs uses the -Bstatic flag to cc
> to prevent the use of shared libraries.  Does GNU emacs ever use 
> shared libraries?  If not, why not? 

Two reasons that I can think of:

a) debugging is hell on something link edited with shared libraries.

b) loadup is slower (often times perceptibly, not just some sort of
unnoticeable benchmark thing) when using shared libraries.

I am pretty certain that it _can_ be compiled with the libraries (ie,
what should prevent it, code-wise), but it isn't.  The primary
argument for using them is to cut down on size of the application, but
the subsequent loss of debugging power and load-up time outweighs that
consideration as long as you have the space on your system.

Dave
--
      tale at rpitsmts.bitnet, tale%mts at itsgw.rpi.edu, tale at pawl.rpi.edu



More information about the Comp.unix.questions mailing list