Re: [FreeJ] lib js questions

dyne.org open discussions
Author: Luca Bigliardi
Date:  
To: MrGoil
CC: freej
Subject: Re: [FreeJ] lib js questions
On Wed, May 14, 2008 at 08:06 PM, MrGoil wrote:

> May you enlighten me on this:


I think the difference comes from spidermonkey version / xulrunner version.

> JavaScript-C 1.6.1 2008-03-01


> Installiert:1.8.0.15~pre080323b-0etch2


> Installiert:1.8.0.15~pre080323b-0etch1


This is from my freej-chroot:

pintsize(freej):~# dpkg -l | grep -E 'spidermonkey|libmoz'
ii libmozjs-dev 1.8.1.14-3 Development files for the Mozilla SpiderMonk
ii libmozjs0d 1.8.1.14-3 The Mozilla SpiderMonkey JavaScript library
ii spidermonkey-bin 1.8.1.14-3 standalone JavaScript/ECMAScript (ECMA-262)
pintsize(freej):~# smjs --version
JavaScript-C 1.7.0 2007-10-03
usage: js [-PswWxCi] [-b branchlimit] [-c stackchunksize] [-v version] [-f scriptfile] [-e script] [-S maxstacksize] [scriptfile] [scriptarg...]


> also I like to know if you are compiling the spider with -DJS_THREADSAFE
> support.


It seems defined in xulrunner sources 1.8.1.14.
If you want to have a look by yourself (better 4 eyes than 2) use
"apt-get source xulrunner".

Cheers,

Luca

-- 
Beware of programmers who carry screwdrivers.
                        -- Leonard Brandwein


http://shammash.homelinux.org/ - http://www.artha.org/ - http://www.yue.it/