[VM][OS X] FFI plugin 1.1.0b1
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Mar 4 19:11:36 UTC 2002
>On Sunday, March 3, 2002, at 10:07 PM, Alain Fischer wrote:
>>I have tried to found where the framework module is loaded in the
>>VM code when called
>>by the FFI plugin but found noting. The only part which seem to run
>>the external function
>>is a bunch of incomprehensible assembler code for me.
Somewhere the original note never made it to my inbox.
For the carbon mac vm, the code to load the framework is now in
sqMacExternalPrims.c The function is LoadFrameworkBundle, which is
code taken from an Apple example. This code does a find folder on
kFrameworksFolderType and proceeds from there to find the framework.
People who build plugins etc should take note, 99% of the plugin not
working issues will happen in this C code as it attempts to load and
But it seems it's not quite what you want.
I'm just about to issue 3.2.5, so this is go into 3.2.6. If Mr.
Fischer can email me then I'll send him an early copy to test once I
figure out what to do, now I wonder if it's
>Whatever you do, the framework first has to be linked into your VM,
>either dynamically or 'statically'.
>>I need some advice from the VM guru. Will it be simple to modify
>>the FFI plugin to find
>>framework in the correct location or to develop a specific plugin ?
Ya, we should do this. Also for plugins...
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Squeak-dev