码迷,mamicode.com
首页 > 数据库 > 详细

Compile SQLite3 from individual files

时间:2015-07-05 22:30:11      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

下载非Amalgamation SQLite3源码

安装tcl, apt-get instal tcl

解压

mkdir build

cd build

../configure

make

#make sqlite3.c    ###生成sqlite3.c, sqlite3ext.h, shell.c

 

全部命令

tar xzf sqlite.tar.gz    ;#  Unpack the source tree into "sqlite"
mkdir bld                ;#  Build will occur in a sibling directory
cd bld                   ;#  Change to the build directory
../sqlite/configure      ;#  Run the configure script
make                     ;#  Run the makefile.
make sqlite3.c           ;#  Build the "amalgamation" source file
make test                ;#  Run some tests (requires Tcl)

 

Compile SQLite3 from individual files

标签:

原文地址:http://www.cnblogs.com/xzpp/p/4623084.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!