22 Feb
2001
22 Feb
'01
11:42 a.m.
"Alastair Reid" <reid@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