Object Libraries
7-26
If, however, you enter the following, all the references to clrscr are satisfied by
member 1 of libc.lib:
lnk500
f1.obj f2.obj libc.lib liba.lib
If none of the linked files reference symbols defined in a library, you can use
the –u option to force the linker to include a library member. The next example
creates an undefined symbol rout1 in the linker's global symbol table:
–u rout1 libc.lib
lnk500
If any member of libc.lib define rout1, the linker includes those members.
It is not possible to control the allocation of individual library members;
members are allocated according to the SECTIONS directive default
allocation algorithm.
Subsection 7.4.9, Alter the Library Search Algorithm (–i dir Option/C_DIR) , on
page 7-13, describes methods for specifying directories that contain object
libraries.
Need help?
Do you have a question about the TMS320C54x and is the answer not in the manual?