[cffi-devel] Clisp load foreign library

Luis Oliveira luismbo at gmail.com
Sun Sep 18 20:59:27 UTC 2005


On 18/set/2005, at 20:34, Kenny Tilton wrote:
> No. Why does this have to happen at compile time? These are dynamic 
> libraries, right? I can change DLLs and a binary application using the 
> DLL still works, right? How? By resolving things at runtime. I think 
> there is a misunderstanding here somewhere. Have you checked with 
> CMUCL people to understand this needless requirement?

SBCL fixes this by using something called a linkage table, which is not 
available on all platforms yet IIRC.

I suppose CMUCL could implement something similar instead of hardcoding 
the function addresses when compiling alien-funcall forms.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list