摘要: 1. 前面配置arm交叉编译环境。2. 配置好qemu-armC语言代码string-switch.c:#include #include extern void strswp(char *str1, char *str2); int main(void){ char str1[10] = "... 阅读全文
posted @ 2014-08-12 18:50 Magnum Programm Life 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 1. 首先确定一间配置好arm linux 交叉编译器,可以使用arm-linux-gcc.2. 看示例代码hello.c#includeint add(int a,int b){ int c = a+b; return c;}int main(){ printf("Ubuntu, i am lin... 阅读全文
posted @ 2014-08-12 16:30 Magnum Programm Life 阅读(792) 评论(0) 推荐(0) 编辑
摘要: Shell中的函数调用的使用方法见我下面的代码示例:#!/bin/bash# value initExP="adb shell /data/local/tmp/vpxdec --yv12 --flipuv -t 2 --md5 data/local/tmp/vp9Input/subset_f... 阅读全文
posted @ 2014-08-12 15:55 Magnum Programm Life 阅读(526) 评论(0) 推荐(0) 编辑