Shared libraries are not necessary

Richard Tobin richard at aiai.ed.ac.uk
Thu May 23 06:30:42 AEST 1991


In article <223 at titccy.cc.titech.ac.jp> mohta at necom830.cc.titech.ac.jp (Masataka Ohta) writes:
>1.5Mbyte per X application? 

1.5 Mbyte is rather large, but I have many X programs (using both
xview and motif toolkits) that have around a megabyte of text and
which are less than 100 Kbytes when dynamically linked.  For example:

bute% ls -l xvserver*
-rwxr-xr-x  1 richard    139264 May 22 21:28 xvserver*
-rwxr-xr-x  1 richard   1286144 Mar 11 18:01 xvserver.static*
bute% size xvserver*
text    data    bss     dec     hex
32768   8192    5360    46320   b4f0    xvserver
942080  131072  16376   1089528 109ff8  xvserver.static


How much is really shared?  Obviously it depends on what other programs
are being run.  But we might well run several different xview programs
simultaneously, and the saving in disk space is also substantial.

-- Richard
-- 
Richard Tobin,                       JANET: R.Tobin at uk.ac.ed             
AI Applications Institute,           ARPA:  R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University.                UUCP:  ...!ukc!ed.ac.uk!R.Tobin



More information about the Comp.unix.internals mailing list