| |||
| Home > Creating and Using libraries > The ARM librarian | |||
The ARM librarian, armar, enables sets of ATPE object files or libraries to be collected together and maintained in libraries. Such a library can then be passed to armlink in place of several object files. However, linking with an object library file does not necessarily produce the same results as linking with all the object files collected into the object library file. This is because armlink processes the input list and libraries differently:
each object file in the input list
appears in the output unconditionally, although unused areas are
eliminated if the armlink -remove option
is specified
a member of library file is only included in the output if it is referred to by an object file or a previously processed library file.
For more information on how armlink processes its input files, see Chapter 2 The armlink Command Syntax.