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