home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12711 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.1 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: justin@scs.leeds.ac.uk
  3. Newsgroups: comp.sys.sgi
  4. Subject: help with shared libraries
  5. Message-ID: <32141@adm.brl.mil>
  6. Date: 21 Aug 92 12:54:41 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 23
  9.  
  10. Hi,
  11.  
  12. I'm trying to make some of the my libraries into shared libraries since the
  13. executables they produce are getting a little too large for comfort.  After
  14. fighting through "man 1 mkshlib" I got a small example library to work BUT :
  15.  
  16. a) I can't the shared library to access routines outside itself (e.g. printf
  17. etc).  When I run mkshlib with -v I see the 'ld' that causes this.  Is there 
  18. any way round this since lots of the libraries access further libraries and 
  19. functions.
  20.  
  21. b) I'm a little concerned about choosing memory addresses out of mid-air for
  22. the shared library.  I've read the NOTES section and obeyed but I wondered if
  23. anybody had practical advice/horror stories to give on the subject.
  24.  
  25. c) Is what I'm trying to do sensible.  Are IRIX shared libraries designed for
  26. this?
  27.  
  28. Thanks in advance for any hints/suggestions/abuse
  29.  
  30. Justin
  31.  
  32. justin@scs.leeds.ac.uk
  33.