Contents
How do you create a shared object?
To create a shared object suitable for linking against:
- Compile the source files for the library using the -shared option to qcc.
- To create the library from the individual object modules, simply combine them with the linker (this is done via the qcc compiler driver as well, also using the -shared command-line option).
What is a shared object Linux?
Shared Libraries are the libraries that can be linked to any program at run-time. They provide a means to use code that can be loaded anywhere in the memory. Once loaded, the shared library code can be used by any number of programs.