Use FFI to dynamically load shared library on Mac OS 10.5

David T. Lewis lewis at mail.msen.com
Sat Jan 19 14:51:56 UTC 2008


On Fri, Jan 18, 2008 at 02:21:53PM -0800, James Foster wrote:
> The SqueakDebug flag was very helpful. I now have the message that it  
> found the library but the library had the wrong architecture. Now that  
> I think of it, this seems quite likely--I'm trying to load a 64-bit  
> library into a 32-bit executable. I'll see if I can find a 32-bit  
> library; I bet that will work. Thanks very much.

FYI, the FFIPlugin will not currently work for 64 bit pointers (although
a 32 bit VM and plugin on 64 bit machine should be fine). I've been
working on sorting out the long pointer issues using an AMD Linux box.
Some significant changes are needed and I'll be out of town and busy
with other things for a couple of weeks, so it may be a while before
I report back on any progress.

Dave 





More information about the Squeak-dev mailing list