It's nice to see there's more info about VM's than I thought, it would be even nicer to have it all gathered in just one place and up to date so it's easier to find it. Recently I started compiling my own unix VMs and as I was very confused at first, I decided to write a small guide for beginers to share my experiences (and to remember the steps after some time). It has some still-unanswered questions, but is thought for beginners, so it might help you. The link is this: http://wwew.javipimas.com.ar/node/2 <http://www.javipimas.com.ar/node/2> hope it helps. regards, Javier. On Tue, Jan 5, 2010 at 1:21 AM, David T. Lewis <lewis@mail.msen.com> wrote:
On Mon, Jan 04, 2010 at 09:04:26PM +0100, St?phane Ducasse wrote:
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.is.titech.ac.jp/%7Eohshima/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.
Tim Rowledge's explanation of VMMaker is here: http://wiki.squeak.org/squeak/2105
You will also find detailed instructions for VM builders along with the platform source code, which is maintained in a Subversion source code repository at squeakvm.org: http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/
For example, documentation on building for Unix (Linux) will be found here:
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/unix/doc/HowToBuildF...
And for Windows:
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/win32/docs/?rev=2147 which points to: http://squeakvm.org/win32/
And for Mac OS:
http://squeakvm.org/cgi-bin/viewcvs.cgi/trunk/platforms/Mac%20OS/vm/Document... as well as other documents that John mentioned in his reply.
In other words, after you download the platform source code from the Subversion repository, you will find detailed documentation in the subdirectory for each of the major platforms.
There is also a mailing list for the VM: http://lists.squeakfoundation.org/mailman/listinfo/vm-dev
Dave
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Javier Pimás Ciudad de Buenos Aires