[Vm-dev] compiling IA32ABI for cocoa cog

Esteban Lorenzano estebanlm at gmail.com
Wed Apr 13 00:03:42 UTC 2011


Hi, 
I'm trying to compile new IA32ABI plugin, who should work with new Threaded FFI. 
As everybody requested, I'm trying to compile this plugin as an external plugin, and for that reason I need variable 

sqInt inIOProcessEvents;

to be

EXPORT(sqInt) inIOProcessEvents;

...how can I modify VMMaker to ensure this? 
I tried touching StackInterpreter>>#mustBeGlobal:, but that generates bad code on gcc3x-cointerpmt.c (it creates GIV(inIOProcessEvents) calls and that does not work)

so... any idea?

thanks,
Esteban


More information about the Vm-dev mailing list