11 2014 档案
摘要:./configure --prefix="/root/code/install/x86" CPPFLAGS="-I/root/src/include" LDFLAGS="-L/usr/local/lib -L/root/code/x86/sqlite"动态链接AUTOMAKE_OPTIONS=fo...
阅读全文
摘要:ftp必须用二进制模式上传才可以sqlite3arm-linux-gcc hello.c -o hello.cgi -I /cgi/include -L /cgi/lib -static -lsqlite3 -lpthread -ldl
阅读全文
摘要:用动态链接的方法: arm-linux-gcc hello.c -o hello.out -Wl,-dynamic-linker=/system/lib/ld-linux.so.3 并且拷贝文件到安卓系统目录下/system/lib/ld-linux.so.3 -static 静态链接
阅读全文
摘要:安卓下执行交叉编译的可执行文件发现提示不允许。 原因是mount的方式问题,root后运行 su mount -o rw,remount /mnt/sdcard 就可以了 mount -o rw,remount / / 新版本系统 重新挂载根目录
阅读全文
摘要:问题:undefined reference to `pthread_spin_init'解:修改CMakeCache.txt,CMAKE_EXE_LINKER_FLAGS原来为空,加上-lpthread -lrt -ldl
阅读全文
摘要:原因是缺少库文件,解决办法:arm-linux-readelf -a helloword | grep NEEDED 拷贝so文件到安卓下或者arm-linux-gcc hello.c -o hello -static
阅读全文
摘要:.├── aclocal.m4├── autoscan.log├── config.log├── config.status├── configure├── configure.in├── Makefile├── Makefile.am├── Makefile.in└── src ├── f...
阅读全文
摘要:Cannyfunction [ canny ] = canny( rgb )temp=rgb2gray(rgb);canny=edge(temp,'canny');end灰度temp=rgb2gray(rgb);播放视频clear allsource = VideoReader('d:\v\\bus...
阅读全文