摘自:http://www.sqlite.org/src/doc/trunk/README.md
倉庫包含了完整的SQLite資料庫引擎源碼。同時包含了一些測試腳本。但是,很多其他的測試腳本
和大多數的文檔被分開管理(managed separately).
1編譯(compiling)
第一建立目錄存放生成的産品(build product).強烈推薦,建立的目錄和源碼目錄隔離開來。
Cd into the build directory and then from the build directory run the configure script
found at the root of the source tree. Then run "make".
For example:
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)
See the makefile for additional targets.
The configure script uses autoconf 2.61 and libtool. If the configure script does not work out for you,
there is a generic makefile named "Makefile.linux-gcc" in the top directory of the source tree that you
can copy and edit to suit your needs. Comments on the generic makefile show what changes are needed.
本文轉自fengyuzaitu 51CTO部落格,原文連結:http://blog.51cto.com/fengyuzaitu/1950363,如需轉載請自行聯系原作者