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

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