7. Archiver DescriptionΒΆ
The archiver (c29ar) lets you combine several individual files into a single archive file. For example, you can use c29ar to collect a group of object files into an object library. When this library is specified as part of the link step of an application build, the linker includes members of the object library that resolve external symbol references during the link.
Since there are several different C29x processor variants supported by the c29clang compiler tools, it is desirable to have multiple versions of the same object file libraries, each built with different build options. When several versions of the same library are available, the c29libinfo library information archiver can be used to create an index library of all the object file library versions. This index library can be used in the link step in place of a particular version of your object library. At link time, the linker finds the version of your object library whose build options are most compatible with the other object files specified as input to the link.
This section of the compiler manual provides details about the usage and available options for the c29ar and c29libinfo utilities.
Contents: