Re: [FreeJ] libjs.a

dyne.org open discussions
Author: jaromil
Date:  
To: FreeJ mailinglist
Subject: Re: [FreeJ] libjs.a
On Wed, May 07, 2008 at 05:12:44PM +0100, Luca Bigliardi wrote:
> On Tue, May 06, 2008 at 05:43 PM, jaromil wrote:
>
> > wow! does js-1.8 works?
>
> It seems, we haven't made exhaustive tests anyway.


ok, i'm testing now...

> > how is the linking done? any pkg-config macro available?
>
> We're simply using '-lmozjs' and libmozjs debian package


yep, found xulrunner-js pkgconfig macro.

i'm testing shared linking libmozjs-dev 1.8.0.11-2 mantained in etch

> Yep! Create shared flags in configure is in our TODOs list for a
> "lighter freej package"



configure flag is ready (will push to git before going to bed)


anyway, unfortunately libmozjs doesn't work well:

#0 0xb7cbbcf2 in JS_GetClass () from /usr/lib/libmozjs.so.0d

at initialization of the first javascript object, this function in
libmozjs.so.0d segfaults (no further debug info available). anyway
i'll go on testing... more precise results or even a fix might be
there as mr.goil is done on the script_cleanup branch.


ciao


- --
Jaromil, dyne.org developer, http://jaromil.dyne.org

GPG: 779F E8B5 47C7 3A89 4112 64D0 7B64 3184 [ B534 0B5E ]