home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / programm / 4607 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.8 KB  |  39 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!zrz.tu-berlin.de!cs.tu-berlin.de!net
  3. From: net@cs.tu-berlin.de (Oliver Laumann)
  4. Subject: Re: Dynamic linking
  5. Message-ID: <1992Sep10.113849.27555@cs.tu-berlin.de>
  6. Sender: news@cs.tu-berlin.de
  7. Organization: Technical University of Berlin, Germany
  8. References: <1992Sep9.040135.17918@sci.ccny.cuny.edu> <bosullvn.716067220@unix1.tcd.ie> <14530@auspex-gw.auspex.com>
  9. Date: Thu, 10 Sep 1992 11:38:49 GMT
  10. Lines: 27
  11.  
  12. In article <14530@auspex-gw.auspex.com> guy@Auspex.COM (Guy Harris) writes:
  13. > >However, it only runs under BSD flavours of UNIX at the moment, as
  14. > >I recall; I don't think it is likely to support ELF or other library
  15. > >formats in the foreseeable future (according to Wilson).
  16. > For most, if not all, purposes, you don't need a port of any third-party
  17. > dynamic linking code to ELF; any system that I'd consider worthy of the
  18. > name "System V Release 4" has the "-ldl" library.  (Yes, there are
  19. > probably things you can't do with it [...]
  20.  
  21. The important point here is that there are things you can't do with
  22. -ldl which you *can* do with the DLD package and with BSD-style dynamic
  23. loading in general (on which DLD is based).
  24.  
  25. For example, an object file dynamically loaded by means of DLD can
  26. directly reference symbols defined by other object files that have
  27. been loaded earlier, while shared objects attached to a program through
  28. the dl-library's dlopen() function can *not* directly reference symbols
  29. exported by objects that have been opened by earlier calls to dlopen().
  30.  
  31. This functionality is important (and is required by programs like Lisp
  32. and Scheme interpreters), which is the reason why a port of the DLD
  33. package to ELF-based systems would be quite useful (but certainly
  34. diffcult).
  35.  
  36. --
  37. Oliver Laumann    net@cs.tu-berlin.de  net@tub.UUCP  net@tub.BITNET
  38.