Summary of current change suggestions

Manuel M. T. Chakravarty chak at cse.unsw.edu.au
Wed Feb 21 22:42:48 EST 2001


"Alastair Reid" <reid at cs.utah.edu> wrote,

> > So, as Marcin pointed out, the only use for a library object
> > spec for ccall is so that interpreters know which handle to
> > pass to dlsym().
> 
> This may be the only use but I think it's a very important use.
> 
> > I am not too fond of the idea that the interpreter has to try
> > a dlsym() on all library objects that it did dlopen().
> > Or is this maybe not too bad?
> 
> I think it's just asking for trouble (for reasons given in earlier mail).

Marcin just pointed out that you can use dlopen() in a way
that it finds symbols without a library name.  That should
do, I think.  

Cheers,
Manuel




More information about the FFI mailing list