David check the squeak documentation on how to invoke external library with FFI. In pharo you have also alien (not tested on non intel - works on mac).
You do not have to recompile the vm to invoke external library. You define methods with specific pragmas annotations and the plugin code can be invoked. One if these days we should write a better doc http://wiki.squeak.org/squeak/2426 http://www.is.titech.ac.jp/~ohshima/squeak/DShowVideo/index.html http://www.visoracle.com/squeak/faq/ffi-windows.html http://wiki.squeak.org/squeak/356 VMMaker is published on SqueakSource. May be people with more experience will comment. Stef On Jan 4, 2010, at 7:19 PM, David Li wrote: > Hi, > > I am new to Pharo and wonder if there is a step by step instruction on > building Pharo for Mac OS X and Linux. I am working on a project that > requires extension either through itself or via plugins. I have been seeing > the mention of VMaker but can't find a good document about it. > > Thanks a lot for the help. > > David Li > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
