- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
HYPERLINK /embed/387.html Sqlite3.8.1移植到TQ2416(在ARM-Linux平台上移植SQLite)
本期介绍 HYPERLINK ARM9开发板 HYPERLINK /index.php?s=/Product/show/id/45.html TQ2416如何在ARM-Linux平台上移植SQLite,Port SQLite to ARM-Linux Platform。
一,交叉编译器:
arm-linux-gcc-4.4.1
二、移植步骤
下载源码
/2013/sqlite-autoconf-3080100.tar.gz
1.解压压缩包并改名进入解压后的目录,如下:
cd sqlite3.8.1
2.创建一个目录_install并进入该目录,用于在这个目录中进行交叉编译,如下:
mkdir _install
cd _install
3.在_install目录中运行sqlite3.8.1中的configure脚本生成Makefile文件,如下:
../configure CC=arm-linux-gcc –host=arm-linux –prefix=/home/gl/e/sqlite3.8.1/_install
选项host指定的是用arm交叉编译器(非交叉环境不用指定)进行编译 选项prefix后面的路径是到时候编译安装后目标存放的目录,
[root@austgl _install]# ../configure CC=arm-linux-gcc –host=arm-linux –prefix=/home/gl/e/sqlite3.8.1/_install/
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for arm-linux-strip… arm-linux-strip
checking for a thread-safe mkdir -p… /usr/bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking for style of include used by make… GNU
checking for arm-linux-gcc… arm-linux-gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… yes
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether arm-linux-gcc accepts -g… yes
checking for arm-linux-gcc option to accept ISO C89… none needed
checking dependency style of arm-linux-gcc… gcc3
checking for special C compiler options needed for large files… no
checking for _FILE_OFFSET_BITS value needed for large files… 64
checking for arm-linux-gcc… (cached) arm-linux-gcc
checking whether we are using the GNU C compiler… (cached) yes
??? checking whether arm-linux-gcc accepts -g… (cached) yes
checking for arm-linux-gcc option to accept ISO C89… (cached) none needed
checking dependency style o
文档评论(0)