|
From: | David Boyce |
Subject: | Re: non-recursive build question |
Date: | Thu, 29 Apr 2004 19:00:03 -0400 |
This would allow for alternate implementations of statefulness, entirely configurable by the client site. Developers would only need create a shared library implementing the documented function. They could then build gmake so as to link it in explicitly, or LD_PRELOAD it on an as-needed basis. I could see a whole cottage industry of plugins developing.
One limitation is that GNU make has probably been ported to some old platforms which don't have dlopen/dlsym or similar. But IMHO it wouldn't be so bad to make this feature depend on a HAVE_DLFCN_H configure macro and thus be available only on modern platforms, which all support something similar AFAIK. Certainly SUS specifies dlopen.
Would this work or am I misunderstanding something about dlopen? -dsb
[Prev in Thread] | Current Thread | [Next in Thread] |