> how can I create a dynamic library ?

gcc -shared -fPIC -o lib.so source1.c source2.c ...

You need to compile all objects with -fPIC, and you need to link with
gcc -shared.

Good luck,
Martin

Reply via email to