Top Up Prev Next Bottom Contents Index Search

Chapter 8. The incremental linker

Authors: Joseph T. Buck
Christopher Hylands
The incremental linker permits user written code to be added to the system at runtime. Two different mechanisms are provided, called a temporary link and a permanent link. With either a temporary link or a permanent link, code is linked using the incremental linking facilities of the Unix linker, the new code is read into the Ptolemy executable, and symbols corresponding to C++ global constructors are located and called. This means that such code is expected to register objects on Ptolemy's known lists (e.g. KnownBlock, KnownState, or KnownTarget) so that new classes become usable. Warning: if the executable containing the Linker class is stripped, the incremental linker will not work!

Top Up Prev Next Bottom Contents Index Search
Copyright © 1990-1997, University of California. All rights reserved.