![]() ![]() To find a suitable shared library, you can search through your Linux distribution’s package manager. Interested in communicating with a USB device? Libusb to the rescue. Need to download a file from the Internet? Check out libcurl. Let’s say you want to store your application’s settings in an SQLite database file. Why reinvent the wheel if someone already developed a similar piece of functionality? As a C (or C++) application developer, you can speed up your application development, by integrating shared libraries into your application. so extension, which stands for Shared Object. On Linux a shared library is a file with the. BackgroundĪ shared library packs compiled code of functionality that the developer wants to share with other developers. It covers three scenarios: (1) Calling GCC directly from the terminal, building with a Makefile and auto-generating the build environment with CMake. Interested in using a shared library in your C or C++ application? Not sure how to build your application with the GCC compiler, such that it properly links the shared library? This article explains how to link a shared library to your application, built with the GCC toolchain. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |