Compile SQLite3 from individual files

下载非Amalgamation SQLite3源码sql

安装tcl, apt-get instal tclshell

解压ui

mkdir buildcode

cd buildsqlite

../configureip

makeget

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

 

所有命令it

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)
相关文章
相关标签/搜索