On Jan 13, 2010, at 7:00 23PM, Levente Uzonyi wrote: > On Wed, 13 Jan 2010, Henrik Johansen wrote: > >> >> On Jan 13, 2010, at 6:06 53PM, Schwab,Wilhelm K wrote: >> >>> That's great news, at least for mac users. What does a penguin herder do >>> to get a plugin? >> >> 1) Download VM sources for latest release from www.squeakvm.org. >> 2) Make an image with VMMaker and AlienPlugin. >> 3) Use VMMakerTool to generate AlienPlugin sources. >> 4) (possibly) use special sqVirtualMachine.c/h from the >> \Cross\plugins\IA32ABI folder. >> 5) Try to compile, fix errors that pop up. >> 6) Repeat step5 enough times that you end up with a compiled plugin. > > 7) Run the tests and wonder why your plugin doesn't work. Repeat 1-7 a few > times. > 8) Give up and wait till someone else succeeds.
Well, yes. > >> >> >>> Would it be easier to use a squeak image to build it? >> Only step 2, unless you load from www.squeaksource.org/JBARepo, and run >> VMMakerLoader loadAndFix. > > I wonder why are these packages forked. It's not really forked, just installing versions different to what is in VMMaker repository that needs to be changed to work with Pharo. In specific, the two I remember: - One of the methods specified in MiscPrimitivePlugin didn't work/return an error for WideStrings. The solution in Pharo was to introduce an extra layer of indirection, since the method itself was called many places, the original definition was moved to a method called ...viaPrimitive (should be renamed prim...), and handling introduced before prim call was made. (using fallback instead if param was WideString). - One of the methods used by VMMaker had a spelling error, which has been fixed in Pharo, something with occurrencesOf: I think. Cheers, Henry _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
