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)
相關文章
相關標籤/搜索