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 ...

Get GNU Autoconf, Automake, and Libtool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.