Creating Shared objects
I want to make my function .so file. This file will not contain the main ().
I will have different entry points for the other functions using this function. Im working on opengl. Please help me out. |
you make object files with -fPIC
gcc -c -fPIC mything.c gcc -shared -fPIC -o mything.so mything.o |
All times are GMT -5. The time now is 02:11 AM. |