SLAU131V October 2004 – February 2020
The archiver’s -t option can be used on an index library to list the archives indexed by an index library:
ar430 t mylib.lib
SIZE DATE FILE NAME
-------- ------------------------ -----------------
133 Fri Jul 9 00:38:52 2010 mylib_msp_small.lib.libinfo
133 Fri Jul 9 00:38:53 2010 mylib_mspx_small.lib.libinfo
133 Fri Jul 9 00:38:53 2010 mylib_mspx_restricted.lib.libinfo
135 Fri Jul 9 00:38:54 2010 mylib_mspx_large_eh.lib.libinfo
0 Fri Jul 9 00:38:55 2010 __TI_$$LIBINFO
The indexed object file libraries have an additional .libinfo extension in the archiver listing. The __TI_$$LIBINFO member is a special member that designates mylib.lib as an index library, rather than a regular library.
If the archiver’s -d command is used on an index library to delete a .libinfo member, the linker will no longer choose the corresponding library when the index library is specified.
Using any other archiver option with an index library, or using -d to remove the __TI_$$LIBINFO member, results in undefined behavior, and is not supported.