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