加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

SQLite 源码仓库(Repository)

发布时间:2020-12-12 19:20:10 所属栏目:百科 来源:网络整理
导读:摘自:http://www.sqlite.org/src/doc/trunk/README.md 仓库包含了完整的SQLite数据库引擎源码。同时包含了一些测试脚本。但是,很多其他的测试脚本 和大多数的文档被分开管理(managed separately). 1编译(compiling) 第一创建目录存放生成的产品(build p

摘自: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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读