Dynamically loading a module

Hi there:
Thanks for clicking in first. I have a question here. I have a module that needs to be dynamically loaded when another piece of code needs it at runtime. I know that I will have to make a soname file before I can use it dynamically. My question is what commad I should use to make module.c into a module.so.
Thank you very much!

Thanks Dirver...

Hey that's pretty neat...I always wondered how that was done.