Advertisement

.dll equivalent

Started by August 15, 2005 07:30 PM
2 comments, last by Generic Guest 19 years, 3 months ago
Hello, I was wondering what is the .dll (Dynamic Link Library) equivalent in Linux? I want some sort of library of functions to use with my C++ applications. Something so that I could place all my functions and class in and be able to use them with different parts of my applications. Any help would be appreciated. Thanks in advance.
*nix platforms generally use shared objects with a .so extension.
Advertisement
They use the .so extension. You can build shared-object libraries with the -shared option when invoking gcc.
Quote: Original post by Ravuya
They use the .so extension. You can build shared-object libraries with the -shared option when invoking gcc.

If we are speaking about options, you should not then forget -fPIC also.

This topic is closed to new replies.

Advertisement