C++ User's Guide

See also

-nolib, -staticlib, ld(1), "Statically Linking Standard Libraries", Linker and Libraries Guide