home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8982 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.1 KB

  1. Path: sparky!uunet!olivea!decwrl!csus.edu!csusac!cdsac!scotte
  2. From: scotte@cdsac.uucp (L. Scott Emmons)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Size of shared libraries
  5. Message-ID: <Aug21.150406.17508@cdsac.uucp>
  6. Date: 21 Aug 92 15:04:06 GMT
  7. References: <5259@unixhub.SLAC.Stanford.EDU>
  8. Organization: Cable Data (U.S. Computer Services), Sacramento, CA
  9. Lines: 15
  10. NntpPostingHost: cdsac
  11.  
  12. In article <5259@unixhub.SLAC.Stanford.EDU> alhy@unixhub.slac.stanford.edu writes:
  13. >It seems that when I make shared libraries, they're much larger than
  14. >an unshared version of the same library!  Here's what I do in this
  15. >case:  I take a library (the ibm blas library), extract all the object
  16. >files, on each of the files use nm to determine the symbols to export,
  17. >create an import file with all the routine names in it, then do the
  18. >following command on each object:
  19.  
  20. This is normal. Shared libraries are larger, but you gain the space back
  21. real quick, as there need be only a single copy of it in memory for all
  22. processes bound to it.
  23.  
  24.  
  25.                L. Scott Emmons
  26.              csusac.csus.edu!cdsac!scotte
  27.