Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where can I find the source of tamarin

0 views
Skip to first unread message

ying lcs

unread,
Feb 1, 2007, 12:20:11 PM2/1/07
to dev-tech-...@lists.mozilla.org
Can you please tell me where can I find the source of 'tamarin'?

>From here http://www.mozilla.org/projects/tamarin/:
It said it is under 'mozilla/js/tamarin/'

But when I go to here, I can't find the directory 'tamarin' under js?
ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/

Thanks for any help.

Tomi Maila

unread,
Feb 1, 2007, 12:38:07 PM2/1/07
to ying lcs, dev-tech-...@lists.mozilla.org
http://lxr.mozilla.org/mozilla/source/js/tamarin/

Tomi

> _______________________________________________
> dev-tech-js-engine mailing list
> dev-tech-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-js-engine

ying lcs

unread,
Feb 1, 2007, 12:45:30 PM2/1/07
to Tomi Maila, dev-tech-...@lists.mozilla.org
Thanks.

Is there a tar ball where I can download?

And is it possible to compile under linux? I can only find instruction
to compile under Windows/Apple.

And at the current stage of the project, can I use tamarin to execute
a file with ActionScript?

zwetan

unread,
Feb 1, 2007, 12:47:53 PM2/1/07
to
On Feb 1, 6:20 pm, "ying lcs" <ying...@gmail.com> wrote:
> Can you please tell me where can I find the source of 'tamarin'?
>
> >From herehttp://www.mozilla.org/projects/tamarin/:

>
> It said it is under 'mozilla/js/tamarin/'
>
> But when I go to here, I can't find the directory 'tamarin' under js?ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/
>
> Thanks for any help.

it is , just do a CVS checkout

C:\mozilla_src>cvs -d :pserver:anonymous:anonymous@cvs-
mirror.mozilla.org:/cvsroot co mozilla/js/tamarin

and if you don't want the CVS stuff do
C:\mozilla_src>cvs -d :pserver:anonymous:anonymous@cvs-
mirror.mozilla.org:/cvsroot export -r HEAD mozilla/js/tamarin


cheers,
zwetan

Nickolay Ponomarev

unread,
Feb 1, 2007, 4:17:53 PM2/1/07
to ying lcs, dev-tech-...@lists.mozilla.org, Tomi Maila
On 2/1/07, ying lcs <yin...@gmail.com> wrote:
> Thanks.
>
> Is there a tar ball where I can download?
>
> And is it possible to compile under linux? I can only find instruction
> to compile under Windows/Apple.
>
Look in bugzilla, I think some people succeeded to compile it.

> And at the current stage of the project, can I use tamarin to execute
> a file with ActionScript?
>

No, it lacks the compiler. (Or at least that was the case when the
initiali announcement was made.)

Nickolay

>
>
>
> On 2/1/07, Tomi Maila <Tomi....@helsinki.fi> wrote:
> > http://lxr.mozilla.org/mozilla/source/js/tamarin/
> >
> > Tomi
> >

> > ying lcs wrote:
> > > Can you please tell me where can I find the source of 'tamarin'?
> > >

> > >> From here http://www.mozilla.org/projects/tamarin/:


> > > It said it is under 'mozilla/js/tamarin/'
> > >
> > > But when I go to here, I can't find the directory 'tamarin' under js?
> > > ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/
> > >
> > > Thanks for any help.

zwetan

unread,
Feb 12, 2007, 9:39:25 AM2/12/07
to

> Is there a tar ball where I can download?
>

nope afaik, but what's wrong using CVS ?


> And is it possible to compile under linux? I can only find instruction
> to compile under Windows/Apple.

see
http://lxr.mozilla.org/mozilla/source/js/tamarin/platform/unix/Makefile


> And at the current stage of the project, can I use tamarin to execute
> a file with ActionScript?
>

"execute a file", can you be more precise ?

you can compile ES4 code to bytecode and then interpret it with the VM
(avmplus)
fiddling a little with the sources you can even compile the VM and the
bytecode to execute
in your own executable and make little command line tools ;)

but if you're talking about File I/O acces , this is pretty limited
for now,
you can read/write ASCII file in the same path as the executable but
no more than that.

cheers,
zwetan

ying lcs

unread,
Feb 12, 2007, 12:29:24 PM2/12/07
to zwetan, dev-tech-...@lists.mozilla.org

Thanks . I did try to make under unix, I get the following link error:
Can you please tell where/how to link in inflateEnd?

$ make
=== linking: avmplus ===
../../shell/ByteArrayGlue.o: In function
`avmshell::ByteArrayObject::zlib_compress()':../../shell/ByteArrayGlue.cpp:479:
undefined reference to `compress2'
../../shell/ByteArrayGlue.o: In function
`PlatformZlibStream':../../shell/genericzlib.h:112: undefined
reference to `inflateInit_'
../../shell/ByteArrayGlue.o: In function
`avmshell::PlatformZlibStream::InflateWithStatus()':../../shell/genericzlib.h:155:
undefined reference to `inflate'
../../shell/ByteArrayGlue.o: In function
`~PlatformZlibStream':../../shell/genericzlib.h:120: undefined
reference to `inflateEnd'
collect2: ld returned 1 exit status
make: *** [avmplus] Error 1

zwetan

unread,
Feb 12, 2007, 6:45:48 PM2/12/07
to
On Feb 12, 6:29 pm, "ying lcs" <ying...@gmail.com> wrote:
[...]

>
> Thanks . I did try to make under unix, I get the following link error:
> Can you please tell where/how to link in inflateEnd?

did you also imported the zlib from CVS ?


>
> $ make
> === linking: avmplus ===
> ../../shell/ByteArrayGlue.o: In function
> `avmshell::ByteArrayObject::zlib_compress()':../../shell/ByteArrayGlue.cpp:479:
> undefined reference to `compress2'
> ../../shell/ByteArrayGlue.o: In function
> `PlatformZlibStream':../../shell/genericzlib.h:112: undefined
> reference to `inflateInit_'
> ../../shell/ByteArrayGlue.o: In function
> `avmshell::PlatformZlibStream::InflateWithStatus()':../../shell/genericzlib.h:155:
> undefined reference to `inflate'
> ../../shell/ByteArrayGlue.o: In function
> `~PlatformZlibStream':../../shell/genericzlib.h:120: undefined
> reference to `inflateEnd'
> collect2: ld returned 1 exit status
> make: *** [avmplus] Error 1
>

if even with the zlib imported you still getting errors
try this https://bugzilla.mozilla.org/show_bug.cgi?id=360195

but more than that I can not help, I do not have a linux around

cheers,
zwetan

Matthew Swank

unread,
Mar 20, 2007, 10:32:27 PM3/20/07
to
On Mon, 12 Feb 2007 15:45:48 -0800, zwetan wrote:

> On Feb 12, 6:29 pm, "ying lcs" <ying...@gmail.com> wrote:
> [...]
>>
>> Thanks . I did try to make under unix, I get the following link error:
>> Can you please tell where/how to link in inflateEnd?
>
> did you also imported the zlib from CVS ?
>
>
>
>
>>
>> $ make
>> === linking: avmplus ===
>> ../../shell/ByteArrayGlue.o: In function
>> `avmshell::ByteArrayObject::zlib_compress()':../../shell/ByteArrayGlue.cpp:479:
>> undefined reference to `compress2'
>> ../../shell/ByteArrayGlue.o: In function
>> `PlatformZlibStream':../../shell/genericzlib.h:112: undefined
>> reference to `inflateInit_'
>> ../../shell/ByteArrayGlue.o: In function
>> `avmshell::PlatformZlibStream::InflateWithStatus()':../../shell/genericzlib.h:155:
>> undefined reference to `inflate'
>> ../../shell/ByteArrayGlue.o: In function
>> `~PlatformZlibStream':../../shell/genericzlib.h:120: undefined
>> reference to `inflateEnd'
>> collect2: ld returned 1 exit status
>> make: *** [avmplus] Error 1
>>
>


I am also having the same problem. There seems to be something up with
the Makefile. Even though zlib gets built it isn't getting linked. When
I add '-lz' (using the system lib) to the LDFLAGS it links fine with _no_
symbol conflicts.

Matt

--
"You do not really understand something unless you
can explain it to your grandmother." - Albert Einstein.

0 new messages