![]() ![]() Fully qualified name or soname ( ‘lib’ followed by the library name, followed by ‘.so’, followed by ‘.’ and a version number.Name used by linker (‘lib’ followed by the library name, followed by ‘.so’.A shared library can be accessed through different names : For example, for any change in the pthread library code, no change is required in the programs using pthread shared library. CMAKE LINUX SHARED LIBRARY CODEShared libraries provide modularity to the development environment as the library code can be changed, modified and recompiled without having to re-compile the applications that use this library. So, this way the size of programs(using shared library) and the memory footprint can be kept low as a lot of code is kept common in form of a shared library. Once loaded, the shared library code can be used by any number of programs. They provide a means to use code that can be loaded anywhere in the memory. Shared Libraries are the libraries that can be linked to any program at run-time. In this article we will discuss specifically about Shared Libraries. For example, the ‘pthread’ library is used when thread related functions are to be used in the program.īroadly, a library (or Program Library) can be of two types : It may contain a group of functions that are used in a particular context. A library is a file containing compiled code from various object files stuffed into a single file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |