Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!slxsys!dircon!uad1077 From: uad1077@dircon.co.uk (Ian Kemmish) Newsgroups: comp.unix.programmer Subject: Re: shared libraries, when to use them (Really OSF/1 Program Loader) Keywords: shared libraries .so Message-ID: <1991Jun23.133029.3229@dircon.co.uk> Date: 23 Jun 91 13:30:29 GMT References: <1991Jun11.163544.20234@aio.jsc.nasa.gov> <1991Jun18.050150.17149@thunder.mcrcim.mcgill.edu> <8448@auspex.auspex.com> <64799@bbn.BBN.COM> Organization: The Direct Connection, UK Lines: 44 fkittred@bbn.com (Fletcher Kittredge) writes: >In article <8448@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: >> >> >You can't, because SunOS doesn't have shared libraries. (What it does >> >have is shared object files. What's the difference? You can link in >> >part of a library without linking in the rest, among other things.) >> >>Just out of curiosity, who *has* implemented shared libraries? >>("Multics" is, unless I misremember, not the correct answer.) >In the Proceedings of this year's Winter Usenix, the OSF people presented >a paper called "The OSF/1 Program Loader". I have been playing with >the same, and it seems to satisfy the requirements for real shared libraries. >In the OSF/1 module, you build libraries to explictly export one or >more "packages". At run time, you load the "packages" you need from the >libraries. >check it out... >regards, >fletcher >Fletcher Kittredge >BBN Software Products >150 CambridgePark Dr, Cambridge, MA. 02140 >617-873-3465 / fkittred@bbn.com / fkittred@das.harvard.edu :-):-):-):-):-):-):-) Sorry to all concerned but I just couldn't resist this... Since a truly shared library presumably takes up more memory than a shared object (well, for probgrams which use most or all of the library anyway), this sounds just the ticket for programs which need to call on Motif.... sounds like OSF is going to be an even better way to sell disc and memory than APL was in the 70's :-):-):-):-):-):-):-) -- Ian D. Kemmish Tel. +44 767 601 361 18 Durham Close uad1077@dircon.UUCP Biggleswade ukc!dircon!uad1077 Beds SG18 8HZ United Kingdom uad1077@dircon.co.uk