The following command line archives the template functions contained in the library and object files.
example% CC -xar -o libmain.a a.o b.o c.o