Article 5052 of comp.sys.amiga: Path: mcdsun!noao!hao!ames!amdcad!decwrl!sqm.dec.com!jmsynge From: jmsynge@sqm.dec.com (James M Synge, DTN 381-1545) Newsgroups: comp.sys.amiga Subject: A shared library (mostly) in C Message-ID: <10090@decwrl.DEC.COM> Date: 29 May 87 07:43:28 GMT Sender: daemon@decwrl.DEC.COM Organization: Digital Equipment Corporation Lines: 1174 Here is the source for a shared library which is written in C with a little bit of assembly glue. It is very heavily commented, so it should be easy for others to produce shared libraries by simply editing this version. The library, task.library, contains versions of CreateTask and DeleteTask. I developed this library after having examined every example that Amiga produced and reading and re-reading the RKM. I have copyrighted this code because it is not simply a paraphrase of previous works, nor a simple rearrangement. It contains substantial addtions which significantly improve the library. I'm not a lawyer, so I don't know all the regulations about copyrights, but I hope I've stated the case correctly. This code may be redistributed for non-commercial purposes. If you wish to sell this library for a profit, contact me. My purpose is to spread the knowledge of how shared libraries work and how to build them. Have fun gang! James Synge USENET: {decvax, ucbvax, allegra}!decwrl!sqm.dec.com!jmsynge ARPAnet: jmsynge%sqm.DEC@decwrl.DEC.COM USmail: 12 Newcastle Dr, #12, Nashua, NH, 03060 #include "Ken Olsen can speak for Digital, not me!"