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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.