5b535b7e83
the executable. On linux you can. |
||
---|---|---|
.. | ||
Makefile | ||
module1.cc | ||
module1.h | ||
module2.cc | ||
module2.h | ||
README | ||
uselib.cc | ||
uselib.h |
test5-execsymbols Can a module reference symbols in the executable? module1 exports module_name and operate(int,int). module2 exports n_operations and operation_occurred(). uselib.cc uses symbols and functions from both modules. Module1 calls operation_occurred() in module2. Module2 calls register_module() in uselib.cc the first time it is called.