89d57436da
on different platforms Modified Files: Makefile test1-static/Makefile test2-dynamic/Makefile test3-twomodules/Makefile test4-interdep/Makefile test5-execsymbols/Makefile Added Files: Makefile.in aclocal.m4 config.guess config.h.in config.sub configure configure.in install-sh ltmain.sh test1-static/Makefile.in test2-dynamic/Makefile.in test3-twomodules/Makefile.in test4-interdep/Makefile.in test5-execsymbols/Makefile.in |
||
---|---|---|
.. | ||
Makefile.in | ||
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.