〖Linux〗build sqlite3 for Arm

Version: sqlite-autoconf-3080100.tar.gz

Download: https://www.sqlite.org/download.html

1. toolchains:
export ARCH=arm
export SUBARCH=arm
export PATH=/opt/FriendlyARM/toolschain/4.5.1/bin:$PATH
export CROSS_COMPILE=/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-

2. configure:
./configure --prefix=/opt/FriendlyARM/sqlite3 --host=arm-linux

3. make & install:
make -j4 && make install

4. package:
tar zcf sqlite3_arm.tgz /opt/FriendlyARM/sqlite3

5. unpack on Arm:
tar zxf sqlite3_arm.tgz -C /
ln -s /opt/FriendlyARM/sqlite3/bin/sqlite3 /usr/bin/sqlite3

posted @ 2013-11-03 04:36  scue  阅读(391)  评论(0编辑  收藏  举报