None.
Creates a shared object from generated object files.
Use this option, together with the related options described later in this topic, instead of calling the linker directly to create a shared object. The advantages of using this option are the automatic handling of link-time C++ template instantiation (using either the template include directory or the template registry), and compatibility with -qipa link-time optimizations (such as those performed at -O5).
By default, the output object is linked with the runtime libraries and startup routines to create an executable file.
Specifying -qmkshrobj implies -qpic.
You can also use the following related options with -qmkshrobj:
For detailed information about using -qmkshrobj to create shared libraries, see Constructing a library.
None.
xlc -qmkshrobj -o big_lib.so lib_a.o lib_b.o lib_c.o