tamarin

需要自己添加新运行库时,tamarin的builtin.h和shell_toplevel.h可根据自己的需要生成,用来给avm添加新的运行时支持。否则windows下只需打开相关sln即可。

redux版本有几个.h和.cpp文件未添加进项目里,需要自己手工加下,lzma的源码在other-licenses目录下,也需要手工添加。这样就能成功编译出avm.exe了。

copy tamarin/platform/win32/armasm.rules to c:/Program Files/Microsoft Visual Studio 9.0/VC/VCProjectDefaults

Build "builtin.h" following the instructions below in the section "Compiling and running applications"

Do the same for shell_toplevel.h, starting in avmplus/shell, using the command "python shell_toplevel.py"

open the Tamarin project file platform/win32/avmplus2008.sln.

Choose your desired configuration and target, and build.
参见 https://developer.mozilla.org/en-US/docs/Tamarin/Tamarin_Build_DocumentationMicrosoft Visual Studio部分。

tamarin目前只支持部分runtime库,flash player的大部分运行库并没有开源。builtin.as中只含有最基础的部分,故flash.net、flash.display等等都不支持,avm.exe无法运行包含这些的swf。

redtamarin(https://code.google.com/p/redtamarin/)加了C.std、C.socket支持库,功能强了一些。

http://blog.youkuaiyun.com/isaaq/article/details/2165267 http://blog.youkuaiyun.com/hgl868/article/details/8193193 http://www.rritw.com/a/JAVAbiancheng/ANT/20110226/62534.htmlhttp://blog.youkuaiyun.com/hgl868/article/details/8193185 写得比较详细,可参考。

http://sourceforge.net/projects/caspin/ 是个很不错的tamarin封装包



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值