Re: [Pharo-project] Building Pharo and Plugins for Mac OS X and Linux
On Jan 5, 2010, at 3:24 AM, pharo-project-request@lists.gforge.inria.fr wrote:
On Mon, Jan 4, 2010 at 7:19 PM, David Li <taweili@yahoo.com> wrote: Hi,
I am new to Pharo
Hi and welcome!
and wonder if there is a step by step instruction on building Pharo for Mac OS X and Linux.
The only thing I am aware of is http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
Thanks. I have come across that document as well. I kind of got stuck on figuring how how I can install VMMaker.
I am working on a project that requires extension either through itself
what do you mean "trought itself" ? You just need to write a plugin or change the VM ? Why you need to tho that ? I ask because maybe someone has even a better solution or advice for you.
I am experimenting with Scratch and planning to integrate several native library into it. It seems that I can accomplish most of what I need via plugins. But it would be nice to get a clear pictures about how to build the VM and how the codes are structure in case I need to get in there.
Cheers
Mariano
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/1/4 David Li <taweili@yahoo.com>:
On Jan 5, 2010, at 3:24 AM, pharo-project-request@lists.gforge.inria.fr wrote:
On Mon, Jan 4, 2010 at 7:19 PM, David Li <taweili@yahoo.com> wrote: Hi,
 I am new to Pharo
Hi and welcome!
and wonder if there is a step by step instruction on building Pharo for Mac OS X and Linux.
The only thing I am aware of is http://code.google.com/p/pharo/wiki/BuildingAVMOnPharo
Thanks. I have come across that document as well. I kind of got stuck on figuring how how I can install VMMaker.
Try (and proceed with the Warning) Gofer new squeaksource:'JBARepo'; package:'FFI-Kernel'; load. (Smalltalk at: #ExternalType) initialize. (Smalltalk at: #ExternalStructure) compileAllFields. Smalltalk recreateSpecialObjectsArray. Gofer new squeaksource:'VMMaker'; package:'VMMaker'; load. Hernán
On 2010-01-04, at 11:46 AM, David Li wrote:
I am experimenting with Scratch and planning to integrate several native library into it. It seems that I can accomplish most of what I need via plugins. But it would be nice to get a clear pictures about how to build the VM and how the codes are structure in case I need to get in there.
Personally I think the thing to do is expose the native library calls via FFI or Alien, then build the messy frame work for dealing with the library in smalltalk. Take a look at the GStreamer api I did in EToys for OLPC, or the Navigation services or quicktime stuff in Sophie. Or you can cheat a bit and also do most of the work in SLANG, see the Mac Menu Bar plugin as an example. Most code in SLANG with some cCode: for the api calls. =========================================================================== John M. McIntosh <johnmci@smalltalkconsulting.com> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ===========================================================================
participants (3)
-
David Li -
Hernán Morales Durand -
John M McIntosh