I am compiling code which produces .a and .la libraries. How can I produce .so libraries? I know that gcc -shared does but how?
e.g. your souce file is mm.c
you can do it like this:
$ gcc -o libmm.so -shared mm.c
for more info man gcc(1).
thanx i changed the makefile and completed successfully