SPRUI03E June 2015 – January 2023
The archiver’s -t option can be used on an index library to list the archives indexed by an index library:
ar6x t mylib.lib
SIZE DATE FILE NAME
-------- ------------------------ -----------------
119 Wed Feb 03 12:45:22 2010 mylib_6600_be.lib
119 Wed Feb 03 12:45:22 2010 mylib_6600_le.lib
119 Wed Feb 03 12:45:22 2010 mylib_64plus_be.lib
119 Wed Feb 03 12:45:22 2010 mylib_64plus_le.lib
0 Wed Sep 30 12:45:22 2009 __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.