home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!yktnews!marc
- From: marc@watson.ibm.com (Marc Auslander)
- Subject: Re: Building shared libraries
- Sender: news@watson.ibm.com (NNTP News Poster)
- Message-ID: <MARC.92Aug12152053@marc.watson.ibm.com>
- In-Reply-To: rice@rab.enet.dec.com's message of 12 Aug 92 17:23:10 GMT
- Date: Wed, 12 Aug 1992 20:20:53 GMT
- Disclaimer: This posting represents the poster's views, not necessarily those of IBM
- References: <1992Aug12.172310.12440@ryn.mro4.dec.com>
- Nntp-Posting-Host: marc.watson.ibm.com
- Organization: IBM T.J. Watson Research Center, Hawthorne, New York
- Lines: 26
-
- The ld entry in info contains a paragraph titled:
-
- Imports/Exports File Format
- which is what you need.
-
- The format is:
-
- lines starting with * are comments
- lines staring with # are control lines
-
- valid entries are lines of the form:
-
- symbol [syscall]
-
- Each such line causes the symbol named to be exported. syscall marks
- the symbol as a "system call". This only matters if the module is
- intented as a kernel extension, in which case symbol will be user callable.
-
- There is no built in facility for exporting all symbols - an exports
- list must be built. One way is to do an ld, post process its map or
- an nm or dump to construct the list.
- --
-
-
- Marc Auslander (IBM)<marc@marc.watson.ibm.com> 914 784-6699
- (Internet)<marc@watson.ibm.com>
-