ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

SQLite 源码仓库(Repository)

2019-08-14 10:01:42  阅读:188  来源: 互联网

标签:SQLite configure Repository make makefile source 源码 目录


摘自:http://www.sqlite.org/src/doc/trunk/README.md

代码仓库包含了完整的SQLite数据库引擎源码。同时包含了一些测试脚本。但是,很多其他的测试脚本和大多数的文档被分开管理(managed separately).


1编译(compiling)

优先创建目录存放生成的目标文件(build product).强烈推荐,创建的目录和源码目录隔离开来。进入创建目录,从创建目录运行源码根目录下的配置脚本。然后运行make指令
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".
例如:

tar xzf sqlite.tar.gz    ;#  解压源码
mkdir bld                ;#  创建分离目录
cd bld                   ;#  进入bld目录
../sqlite/configure      ;#  运行配置文件
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.
查看makefile文件,查阅额外的配置信息
The configure script uses autoconf 2.61 and libtool. If the configure script does not work out for you,
配置脚本文件使用autoconf 2.61版本和libtool。如果配置脚本不生效,在源码的顶级目录下有一个命名Makefile.linux-gcc
there is a generic makefile named "Makefile.linux-gcc" in the top directory of the source tree that you
的通用makefile文件,拷贝编辑符合需要。
can copy and edit to suit your needs. Comments on the generic makefile show what changes are needed.


标签:SQLite,configure,Repository,make,makefile,source,源码,目录
来源: https://blog.51cto.com/fengyuzaitu/2429353

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有