login
Header Space

 
 

DLL's for linux

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Sunday, August 1, 1993 - 11:40 pm

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.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
DLL's for linux , Russell Nelson, (Sun Aug 1, 11:40 pm)
speck-geostationary