OS question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

OS question

FDominicus
I'm just wondering who is using Pharo on some BSD (Free/Open/386)

Regards
Friedrich

Reply | Threaded
Open this post in threaded view
|

Re: OS question

Pierce Ng-3
On Mon, Mar 03, 2014 at 07:30:56AM +0100, Friedrich Dominicus wrote:
> I'm just wondering who is using Pharo on some BSD (Free/Open/386)

I am a long time FreeBSD user. Right now an instance of my blog is running
on Pharo 1.4 on CogVM on FreeBSD 8.x.


--
Pierce Ng
http://samadhiweb.com/blog/


Reply | Threaded
Open this post in threaded view
|

Re: OS question

Sean P. DeNigris
Administrator
Pierce Ng-3 wrote
I am a long time FreeBSD user. Right now an instance of my blog is running
on Pharo 1.4 on CogVM on FreeBSD 8.x.
Cool! Pier? What's the url?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: OS question

FDominicus
In reply to this post by Pierce Ng-3
Pierce Ng <[hidden email]> writes:

> On Mon, Mar 03, 2014 at 07:30:56AM +0100, Friedrich Dominicus wrote:
>> I'm just wondering who is using Pharo on some BSD (Free/Open/386)
>
> I am a long time FreeBSD user. Right now an instance of my blog is running
> on Pharo 1.4 on CogVM on FreeBSD 8.x.
How did you build the Pharo VM?

Regards
Friedrich

Reply | Threaded
Open this post in threaded view
|

Re: OS question

Pierce Ng-3
In reply to this post by Sean P. DeNigris
On Tue, Mar 04, 2014 at 05:25:20AM -0800, Sean P. DeNigris wrote:
> Pierce Ng-3 wrote
> > I am a long time FreeBSD user. Right now an instance of my blog is running
> > on Pharo 1.4 on CogVM on FreeBSD 8.x.
>
> Cool! Pier? What's the url?

Not Pier. Home-grown using Zinc. Uses Seaside to render the content. URL in
my .sig. Right now that one points to the same combo running on Debian
though.


--
Pierce Ng
http://samadhiweb.com/blog/


Reply | Threaded
Open this post in threaded view
|

Re: OS question

Pierce Ng-3
In reply to this post by FDominicus
On Wed, Mar 05, 2014 at 09:21:05AM +0100, Friedrich Dominicus wrote:
> Pierce Ng <[hidden email]> writes:
> > I am a long time FreeBSD user. Right now an instance of my blog is running
> > on Pharo 1.4 on CogVM on FreeBSD 8.x.
> How did you build the Pharo VM?

Used to need to patch the source. Here's an old post from me:
http://forum.world.st/Building-Cog-on-FreeBSD-td3072348.html.

Patching is no longer needed. Periodically, I build from source from both
Git and SVN repositories. However, recently I'm somewhat confused which
Git-based version to use, so I build from the SVN-based source.

Basically, over time, I settled on this script, based on my experimentation
and reading stuff I found on the net:

  #!/bin/sh
  ../../platforms/unix/config/configure \
      CC="gcc -m32" CXX="g++ -m32" \
      CFLAGS="-g -O -msse2 -DNDEBUG -DTIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0 -DNOEXECINFO" \
      --enable-mpg-mmx=no --enable-mpg-pthreads=no --without-npsqueak
  make

There is some funny thing about the FFI: One particular version of the
SqueakFFIPrims plugin works. But several other versions that I've built
all fail.

Also, NativeBoost doesn't work on FreeBSD. In terms of dlfcn.h constants
such as RTLD_LAZY etc, FreeBSD is more like OSX than like Linux. (Or
perhaps I should say OSX is like FreeBSD.) I have built a VM on FreeBSD in
which "NativeBoost forCurrentPlatform" says "NativeBoostMac32" while
"OSPlatform current" says "UnixPlatform" but the dynamic linking doesn't
work yet. From reading assembly programming tutorials for FreeBSD, Linux
and OSX, my current conjecture is around stack popping, but I've never done
assembly programming for real on these Unixen, so this is just guesswork on
my part.

I hope NativeBoost will work on FreeBSD eventually. All the world's not
just Linux, OSX and Windows.


--
Pierce Ng
http://samadhiweb.com/blog/


Reply | Threaded
Open this post in threaded view
|

Re: OS question

FDominicus
Pierce Ng <[hidden email]> writes:

> I hope NativeBoost will work on FreeBSD eventually. All the world's not
> just Linux, OSX and Windows.
Well, yes that what I would think, but well at least not for Pharo I
guess ;-)

Regards
Friedrich

Reply | Threaded
Open this post in threaded view
|

Re: OS question

philippeback
VM works on Raspberry Pi.

I hope that we can get a small kernel and some PharoTinyVm we can put about anywhere.

Internet of Things, watch out for Pharo hackers!

Phil

On Monday, March 10, 2014, Friedrich Dominicus <[hidden email]> wrote:
Pierce Ng <<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;pierce@samadhiweb.com&#39;)">pierce@...> writes:

> I hope NativeBoost will work on FreeBSD eventually. All the world's not
> just Linux, OSX and Windows.
Well, yes that what I would think, but well at least not for Pharo I
guess ;-)

Regards
Friedrich




--
---
Philippe Back
Visible Performance Improvements
Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027
Blog: http://philippeback.be | Twitter: @philippeback

High Octane SPRL
rue cour Boisacq 101 | 1301 Bierges | Belgium

Pharo Consortium Member - http://consortium.pharo.org/
Featured on the Software Process and Measurement Cast - http://spamcast.libsyn.com
Sparx Systems Enterprise Architect and Ability Engineering EADocX Value Added Reseller