Sun Studio 12: C++ User's Guide

See also

–nolib, –staticlib, ld(1), 12.5 Statically Linking Standard Libraries, Linker and Libraries Guide