News

Relocatable object file, which contains binary code and data in a form that can be combined with other relocatable object files at compile time to create an executable object file. Executable object ...
To turn this into our own shared library libmylib.so, we first compile the C file as position-independent object file, and then link it as a shared library: $ gcc -c -fPIC libfunction.c $ gcc ...