Finding module names to call libc functions using FFI

Lex Spoon lex at cc.gatech.edu
Thu Mar 10 01:50:34 UTC 2005


> > I have also tried (without success):
> > * using '' as a module name (hoping to get the version linked into my 
> > Squeak
> > executable, if any)
> 
> This used to work fine. You might try to enable the debug output in 
> sqUnixExternalPrims.c to trace the problem. It should print "loaded: 
> <intrinsic>" with an empty module name ...
> 

Using '' and 'c' both seem logical -- and should both work, I would
think!  At any rate, let's remember that the VM is open source just as
much as the image.  It would be nice to get this working properly. 
People shouldn't have to scan /lib in order to FFI to the standard C
library....


Lex



More information about the Squeak-dev mailing list