home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / bsd / 10161 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.8 KB  |  42 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!spooky!witr
  3. From: witr@rwwa.COM (Robert Withrow)
  4. Subject: Re: Shared lib benchmarks, and experiences
  5. Message-ID: <1992Dec12.235116.7484@rwwa.COM>
  6. Sender: news@rwwa.COM (News Administrator)
  7. Nntp-Posting-Host: spooky
  8. Reply-To: witr@rwwa.com
  9. Organization: R.W. Withrow Associates
  10. References: <1992Dec10.150750.2106@rwwa.COM> <1992Dec10.200232.5557@serval.net.wsu.edu> <veit.724064215@du9ds3> <1gdnvrINNp80@life.ai.mit.edu>
  11. Distribution: usa
  12. Date: Sat, 12 Dec 1992 23:51:16 GMT
  13. Lines: 27
  14.  
  15. In article <1gdnvrINNp80@life.ai.mit.edu>, 
  16. ericy@hal.gnu.ai.mit.edu (Eric Youngdale) writes:
  17.  
  18. | Perhaps you do not understand.  The way our libraries are made, you can
  19. | just drop a new version into the /lib directory, and add a symlink, and you are
  20. | ready to run the same binaries with the new sharable library. There is no need
  21. | to relink[...]
  22.  
  23. According to private correspondence, I'm told you can even do this without
  24. the symlink by using environment variables.
  25.  
  26. But, there are severe restrictions:
  27.  
  28.   1) The two librarys must have identical ``assigned'' addresses, and
  29.   2) The two librarys must be substantially identical.
  30.  
  31. By #2 I mean that if the second library is, say, built from a completely
  32. different set of object files, and a completely different set of ``internal''
  33. routines, and is of a substantially different size, it won't work (even though
  34. the ``interface'' is the same).  This is why I raised the example of 
  35. Xaw3d -vs- Xaw.  On SVR4 each process can elect to use one or the other of 
  36. these libraries with the same binarys (say xterm) at the same time.  I
  37. still don't think this is the case with linux, but correct me if I am wrong.
  38.  
  39. -- 
  40.  Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430, Net: witr@rwwa.COM
  41.  R.W. Withrow Associates, 21 Railroad Ave, Swampscott MA 01907-1821 USA
  42.