摘要:I'v ported cinvoke to MOTO E2 that working on arm linux. Most of the functions in this shared library can be found and invoked correctly, but the function with the float value as parameter or r...
阅读全文
09 2007 档案
摘要:最近在玩E2手机,想把C/Invoke(http://www.nongnu.org/cinvoke/)移植到E2上,它的CPU是arm的,系统是Linux,下了源代码,按照说明自已添了一个gcc_arm_linux的arch文件,可是在修改时发现里边还有asm代码,以前没弄过,开始完全看不懂,于是呼!在网上找来《ARM指令集》找到要用到的指令,指令到是简单,可是asm内嵌c的写法把我搞晕了,...
阅读全文
摘要:上周五,搞了一下,arm-linux的交叉编译,在linux下编译了一个lua和gnugo,在E2下可用。 在it168上共享出去,http://moto.it168.com/viewthread.php?tid=167226&extra=page%3D5和http://moto.it168.com/viewthread.php?tid=167233&extra=page%3D11还共享了一个自已...
阅读全文