SQLite source repository (Repository)

Excerpt from: http: //www.sqlite.org/src/doc/trunk/README.md

Code repository contains the complete source SQLite database engine. At the same time contains a number of test scripts. However, many other test scripts and most of the documents are managed separately (managed separately).


1 compiler (compiling)

Directory to store the resulting object files (build product) priority to create strongly recommended to create a directory and source directories to isolate. The Create directory, run the configuration script from the root directory of the source code to create the directory. Then run a 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"..
For example:

tar xzf sqlite.tar.gz; # extract the source
mkdir bld; # Create a separate directory
cd bld; # to enter bld directory
../sqlite/configure; # run the configuration file
the make;. # the Run at The Makefile
the make sqlite3.c; # Build at The "amalgamation" Source File
the make the Test; # the Run some Tests (The requires Tcl)

See the makefile for additional targets.
View the makefile, access to additional configuration information
The configure script uses autoconf 2.61 and libtool . If the configure script does not work out for you,
the configuration script file version and use autoconf 2.61 libtool. If the configure script does not take effect, there is a named Makefile.linux-gcc in the top-level directory source
there is a generic makefile named "Makefile.linux -gcc" in the top directory of the source tree that you
generic makefile file, copy editor satisfy needs.
can copy and edit to suit your needs . Comments on the generic makefile show what changes are needed.


Guess you like

Origin blog.51cto.com/fengyuzaitu/2429353