SQLite源码仓库(Repository)

前端之家收集整理的这篇文章主要介绍了SQLite源码仓库(Repository)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_301_0@摘自:http://www.sqlite.org/src/doc/trunk/README.md

@H_301_0@

@H_301_0@仓库包含了完整的sqlite数据库引擎源码。同时包含了一些测试脚本。但是,很多其他的测试脚本

@H_301_0@和大多数的文档被分开管理(managed separately).

@H_301_0@

@H_301_0@1编译(compiling)

@H_301_0@

@H_301_0@第一创建目录存放生成的产品(build product).强烈推荐,创建的目录和源码目录隔离开来。

@H_301_0@Cd into the build directory and then from the build directory run the configure script

@H_301_0@found at the root of the source tree. Then run "make".

@H_301_0@For example:

@H_301_0@

@H_301_0@tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"

@H_301_0@mkdir bld ;# Build will occur in a sibling directory

@H_301_0@cd bld ;# Change to the build directory

@H_301_0@../sqlite/configure ;# Run the configure script

@H_301_0@make ;# Run the makefile.

@H_301_0@make sqlite3.c ;# Build the "amalgamation" source file

@H_301_0@make test ;# Run some tests (requires Tcl)

@H_301_0@

@H_301_0@See the makefile for additional targets.

@H_301_0@

@H_301_0@The configure script uses autoconf 2.61 and libtool. If the configure script does not work out for you,

@H_301_0@

@H_301_0@there is a generic makefile named "Makefile.linux-gcc" in the top directory of the source tree that you

@H_301_0@

@H_301_0@can copy and edit to suit your needs. Comments on the generic makefile show what changes are needed.

猜你在找的Sqlite相关文章