loadble module

Ely Levy elylevy-xserver@cs.huji.ac.il
Wed, 14 Jan 2004 11:22:40 +0200 (IST)


> Le mer 14/01/2004 =E0 06:11, Keith Packard a =E9crit :
> > Around 23 o'clock on Jan 13, Sean Middleditch wrote:
> >
> > > Systems where you know dlopen() works as you need, just use it direct=
ly,
> > > and on other systems use libltdl.
> >
> > heh.  we should see if libltdl is usable first...  If not, I'd just cod=
e up
> > the dlopen solution and let poor users without it deal with the problem=
s
> > by submitting patches.  But then, I'm lazy, myself.
>
> If adding GLib dependency isn't considered evil, there's also GModule
> which is a rather nice portable loadable modules implementation.
>
> See: http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-=
Modules.html
>
> =09Xav
>
I think it's preety much concidered evil,
ask any BSD person;)

Ely