Can someone point in the direction of a good tutorial or explain to me how to properly static link libraries with GCC?

Thanks in advance.