home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8973 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.3 KB  |  31 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!flu!marc
  3. From: marc@watson.ibm.com (Marc Auslander)
  4. Subject: Re: Shared libraries sharing from main app?
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <MARC.92Aug21090935@marc.watson.ibm.com>
  7. In-Reply-To: brent@spss.com's message of Thu, 20 Aug 1992 22:05:55 GMT
  8. Date: Fri, 21 Aug 1992 14:09:35 GMT
  9. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  10. References: <1992Aug20.220555.25326@spss.com>
  11. Nntp-Posting-Host: marc.watson.ibm.com
  12. Organization: IBM T.J. Watson Research Center, Hawthorne, New York
  13. Lines: 16
  14.  
  15. It is possible to build a shared library which imports a symbol from
  16. the main (i.e. exec'd) program.  However, the facility is clumsy,
  17. because the shared library must contain the actual file name of the
  18. exec'd program.
  19.  
  20. It might have been better, I now think, to provide a well known alias
  21. for the exec'd program, but this was not done.
  22.  
  23. There is no way to have a symbol definition in the main program (e.g.
  24. malloc) override the definition in a library in a way that causes the
  25. library uses of the symbol to be satisfied by the overriding definition.
  26. --
  27.  
  28.  
  29. Marc Auslander       (IBM)<marc@marc.watson.ibm.com>      914 784-6699
  30.                      (Internet)<marc@watson.ibm.com>
  31.