Jump to content

Dynamic Linking - DLL Equivalents For Non-Windows Systems?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,254 posts
  • Location:C:\Countries\US
On Windows, dynamic linking can be done using DLLs (Dynamic-Link Libraries).

What is the medium of dynamic linking for other operating systems like Macintosh and Linux?

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Hello,

Libraries loaded at load or run time are generally called shared objects, or shared libraries (in .so format, and linked as one with any tool-chain such as GCC.)

A useful resource in naming conventions, compilation linking and others you can visit tldp.org:
Shared Libraries

Actually I believe Mac uses a slightly different dynamic library scheme, dylib format:
Creating working dylibs
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
DarkLordofthePenguins

DarkLordofthePenguins

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 409 posts
Linux uses the .so files stored in /lib, /usr/lib, etc. Mac OS X uses .dylib files. I don't know how to use them though.
Programming is a journey, not a destination.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users