On Sep 27, 2010, at 10:20 PM, Igor Stasenko wrote:

> On 27 September 2010 17:36, Fernando olivero <[email protected]> wrote:
>> Hi Igor, great news that NativeBoost is available in Linux.
>> 
>> In the installation page, in steps 1 and 2 you specify how to create a 
>> plugin/vm .
>> The outcome is the vm for linux with NativeBoost support?
>> 
> 
> Its not a full instruction how to build a vm.
> First, you must download the sources and have an image with vmmaker.
> This is described on http://squeakvm.org/unix/devel.html page.
> 
> Then you need to download small patch from NB site
> svn checkout http://nativeboost.googlecode.com/svn/trunk/ 
> nativeboost-read-only
> 
> and copy patched files to unix platform-specific sources.
> 
> In image with VMMaker, you can load NBInstaller , and then do
> NBInstaller installPlugin.
> 
> Before generating VM/plugins source code in vmmaker, don't forget
> about setting target platform for plugin:
> 
> NativeBoostPlugin setTargetPlatform: (NativeBoostConstants linux32PlatformId).
> 
> 
> Now open VMMaker, include NativeBoostPlugin into internal plugins list,
> and you ready to build a VM.
> 

Thanks for the detailed info Igor.

 I think the web page would benefit from adding this extra info.

> Yes, building VM is somewhat tedious procedure, but once you have
> everything set up,
> it don't takes much time anymore.
> 

ok, maybe what we could have is an ready made image for each OS. ( with the 
above steps already performed)
so people just press the "generate" button.

> 
>> Is there a prebuilt vm for linux available?
>> 
> Yes, on my PC :) but i don't know how to package it.
> 
>> Fernando
>> 
>> 
>> pd: When would it be available for Mac OSX? How can we help?
>> 
> Well, since i don't have Mac right now, i can't build & test VM and plugin.
> 
> I just added a necessary patch to platforms/Mac OS/sqMacMemory.c
> in plugin's svn source at google code,
> which is needed to make plugin execute native code.
> 
> (Make sure that you building plugin with Mac platform id).
> 
> The rest of stuff should be done at image level:
> - create a subclass of NativeBoost, like NativeBoostMac32
> and implement missing functionality.
> You can use NativeBoostLinux32 as a guide to follow.
> 
> I think that for someone, who knows mac platforms well, it could take
> maybe a day to
> make a working port.
> 

Ok, i'll do that ( in the not so distant future).

Fernando

>> 
>> 
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>> 
> 
> 
> 
> -- 
> Best regards,
> Igor Stasenko AKA sig.
> 
> _______________________________________________
> 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

Reply via email to