> 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
- so version Great One
- Martin v. Loewis
> 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