From: Russell Nelson (nelson@crynwr.com)
Date: 08/01/93


From: nelson@crynwr.com (Russell Nelson)
Subject: DLL's for linux 
Date: Mon, 02 Aug 1993 03:40:58 GMT

In article <1993Aug1.032441.20299@sifon.cc.mcgill.ca> whitney@christie.Meakins.McGill.CA writes:

   : Does Linux have any support dynamically linked modules
   : ( also known as DLL's in OS/2, Windows ) ?

   An appropriate followup question : What is the difference
   between a shared library and a dynamic linked library ?

   Dynamic-libraries support getting a pointer to a function
   by name. ie. foo() is a function in a library call MyLib.

      void (f*)()

      f = GetFunc("MyLib","_foo"); /* load library and get function */
      (f*)(); /* call foo */

   Can you do this with a shared library ?

Not that *I* know of. Shared libraries don't have a directory. On
the other hand, you *could* crack the .s file and create a pointer
into the right place. Hmmm... but then I don't know how you'd get
the library loaded.

I'm not a kernel whiz, so take this with a grain of salt.

-russ <nelson@crynwr.com> What canst *thou* say?
Crynwr Software Crynwr Software sells packet driver support.
11 Grant St. 315-268-1925 Voice | LPF member - ask me about
Potsdam, NY 13676 315-268-9201 FAX | the harm software patents do.