I few projects I am working on need to make libraries (shared and static). Could someone please point me to info or explain what is required? I need to know what command line options the compiler needs (and what not to use).