views:

1117

answers:

4

I have tried to find how to create DLL-s on linux using google, but got very confusing information.

Is it possible to write dynamic link libraries on linux? If not, are there other means by which I can call code in another module from several running programs?

+13  A: 

That's because DLL is a Windows term. In Linux they are called shared libraries.

http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/shared-libraries.html

Sklivvz
A: 

I guess .SO files instead of DLL files, meaning shared object, not StackOverflow :), is what you want.

OregonGhost
+7  A: 
Andrew Edgecombe
+1  A: 

It is a lot if you are just getting started, but at some point you will need to refer to Ulrich Drepper’s “How To Write Shared Libaries.”

andrew
A very interesting document. Essential if you're writing a major library framework, or if you have a problem with startup time, otherwise probably not useful, though still worth reading if you're the sort of person who likes to understand what's really going on.
Mark Baker