Re: [Pharo-dev] Pharo on a Raspbian

2014-01-18 Thread Stéphane Ducasse
+1 On 17 Jan 2014, at 23:12, Igor Stasenko siguc...@gmail.com wrote: Btw, to reduce the pain, i propose to introduce: NativeBoost isAvailable protocol. The implementation is simple, since primitiveIsEnabled fails only if it not exists (else it returns true or false), do a following:

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-18 Thread Stéphane Ducasse
One of the problem we are thinking about now is the FFI on ARM (alien or not alien)…. On 17 January 2014 22:59, Sven Van Caekenberghe s...@stfx.eu wrote: Who is JB ? Jean Baptiste Arnaud. The invaluable asset in any team :) The hacker who without any help configuring compiling VM on

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread jannik laval
Thank you Marcus for the pointer. Jannik 2014/1/16 Marcus Denker marcus.den...@inria.fr On 16 Jan 2014, at 16:10, jannik laval jannik.la...@gmail.com wrote: Dear pharoers, I tried to load a Pharo 2.0 on a Raspbian (with Phratch inside !). It works fine (the VM Squeak is already

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Sven Van Caekenberghe
On 16 Jan 2014, at 16:10, jannik laval jannik.la...@gmail.com wrote: Dear pharoers, I tried to load a Pharo 2.0 on a Raspbian (with Phratch inside !). It works fine (the VM Squeak is already included in the Raspbian). I tried it with Pharo3.0 and it does not work. What changed in

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Esteban Lorenzano
On 17 Jan 2014, at 15:01, Sven Van Caekenberghe s...@stfx.eu wrote: On 16 Jan 2014, at 16:10, jannik laval jannik.la...@gmail.com wrote: Dear pharoers, I tried to load a Pharo 2.0 on a Raspbian (with Phratch inside !). It works fine (the VM Squeak is already included in the Raspbian).

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Sven Van Caekenberghe
On 17 Jan 2014, at 15:03, Esteban Lorenzano esteba...@gmail.com wrote: is just to compile a NB Stack VM… with should be fairly straightforward… So that means there _is_ a working VM, right ? Where can we download it for testing ?

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Esteban Lorenzano
On 17 Jan 2014, at 15:06, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 15:03, Esteban Lorenzano esteba...@gmail.com wrote: is just to compile a NB Stack VM… with should be fairly straightforward… So that means there _is_ a working VM, right ? Where can we download it

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Sven Van Caekenberghe
On 17 Jan 2014, at 15:12, Esteban Lorenzano esteba...@gmail.com wrote: On 17 Jan 2014, at 15:06, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 15:03, Esteban Lorenzano esteba...@gmail.com wrote: is just to compile a NB Stack VM… with should be fairly straightforward… So

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Igor Stasenko
you need to subclass NewObjectMemory to override growObjectMemory: delta (see it in NBCoObjectMemory) to enable object memory to be executable you need to subclass from StackInterpreter to override initStackPagesAndInterpret to enable object memory to be executable and to use new object memory

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Igor Stasenko
On 17 January 2014 15:24, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 15:12, Esteban Lorenzano esteba...@gmail.com wrote: On 17 Jan 2014, at 15:06, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 15:03, Esteban Lorenzano esteba...@gmail.com wrote: is

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Esteban Lorenzano
On 17 Jan 2014, at 15:28, Igor Stasenko siguc...@gmail.com wrote: On 17 January 2014 15:24, Sven Van Caekenberghe s...@stfx.eu wrote: On 17 Jan 2014, at 15:12, Esteban Lorenzano esteba...@gmail.com wrote: On 17 Jan 2014, at 15:06, Sven Van Caekenberghe s...@stfx.eu wrote: On 17

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Stéphane Ducasse
JB? Soon in the blog close to you :) Hi, We compile the StackVM now for RaspberryPi based on a Raspbian os. In order to do that you have to: - get your image - prepare your RaspberryPi or your cross compile environment - and compile First step, the VMMaker image:

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Igor Stasenko
Btw, to reduce the pain, i propose to introduce: NativeBoost isAvailable protocol. The implementation is simple, since primitiveIsEnabled fails only if it not exists (else it returns true or false), do a following: isAvailable ^ self primIsAvailable notNil primIsAvailable Answer flag

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Sven Van Caekenberghe
On 17 Jan 2014, at 23:07, Igor Stasenko siguc...@gmail.com wrote: On 17 January 2014 22:59, Sven Van Caekenberghe s...@stfx.eu wrote: Who is JB ? Jean Baptiste Arnaud. The invaluable asset in any team :) The hacker who without any help configuring compiling VM on raspberry. Good

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-17 Thread Igor Stasenko
On 17 January 2014 23:19, Sven Van Caekenberghe s...@stfx.eu wrote: There is already NativeBoost class#isEnabledOrNil oh.. right.. On 17 Jan 2014, at 23:12, Igor Stasenko siguc...@gmail.com wrote: Btw, to reduce the pain, i propose to introduce: NativeBoost isAvailable protocol.

[Pharo-dev] Pharo on a Raspbian

2014-01-16 Thread jannik laval
Dear pharoers, I tried to load a Pharo 2.0 on a Raspbian (with Phratch inside !). It works fine (the VM Squeak is already included in the Raspbian). I tried it with Pharo3.0 and it does not work. What changed in Pharo3.0 ? I know that some guys work on a PharoVM on a Raspbian. What is the status

Re: [Pharo-dev] Pharo on a Raspbian

2014-01-16 Thread Marcus Denker
On 16 Jan 2014, at 16:10, jannik laval jannik.la...@gmail.com wrote: Dear pharoers, I tried to load a Pharo 2.0 on a Raspbian (with Phratch inside !). It works fine (the VM Squeak is already included in the Raspbian). I tried it with Pharo3.0 and it does not work. What changed in