GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
17.5. User Module Loaders
While writing the module-loading code for GNU M4 1.5, I found that libltdl did not provide a way to load modules in exactly the way I required. As good as the preloading feature of libltdl may be, and as useful as it is for simplifying debugging, it does not have all the functionality of full dynamic module loading when the host platform is limited to static linking. After all, you can only ever load modules that were specified at link time, so for access to user-supplied modules the whole application must be relinked to preload these new modules before lt_dlopen can make use of the additional module code.
In this situation, it would be useful to be able to automate this process. That is, if a libltdl-using process ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access