9.4. C++ Prelinker. Altium TriCore
Anúncio
Anúncio
Using the Utilities
artc -t mylib.a
The library has the following contents: cstart.o
calc.o
mod3.o
Move an object module to another position
To move mod3.o
to the beginning of the library, position it just before cstart.o
: artc -mb cstart.o mylib.a mod3.o
Delete an object module from the library
To delete the object module cstart.o
from the library mylib.a
: artc -d mylib.a cstart.o
Extract all modules from the library
Extract all modules from the library mylib.a
: artc -x mylib.a
9.4. C++ Prelinker
The C++ prelinker prelktc is invoked at link time by the control program to manage automatic instantiation of template entities. It is given a complete list of the object files and libraries that are to be linked together.
It examines the external names defined and referenced within those files, and finds cases where template entities are referenced but not defined. It then examines information in the object files that describes instantiations that could have been done during compilation, and assigns the needed instantiations to appropriate files. The prelinker then invokes the compiler again to compile those files, which will do the necessary instantiations.
For more information on this process see
Section 5.1.1, The Prelinker Phase
.
The command line invocation syntax of the C++ prelinker is:
prelktc [option]... files where the files list includes all object files and libraries.
.
265
TASKING VX-toolset for TriCore User Guide
266
Download
Anúncio