2000-05-30 00:41:49 +04:00
|
|
|
This directory contains source code to
|
|
|
|
|
2002-08-14 00:45:39 +04:00
|
|
|
SQLite: An Embeddable SQL Database Engine
|
2000-05-30 00:41:49 +04:00
|
|
|
|
|
|
|
To compile the project, first create a directory in which to place
|
2001-09-28 05:34:43 +04:00
|
|
|
the build products. It is recommended, but not required, that the
|
|
|
|
build directory be separate from the source directory. 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".
|
2000-05-30 00:41:49 +04:00
|
|
|
|
|
|
|
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.
|
2005-03-21 03:47:18 +03:00
|
|
|
make install ;# (Optional) Install the build products
|
2000-05-30 00:41:49 +04:00
|
|
|
|
2008-03-06 12:58:50 +03:00
|
|
|
The configure script uses autoconf 2.61 and libtool. If the configure
|
2001-09-28 05:34:43 +04:00
|
|
|
script does not work out for you, there is a generic makefile named
|
2002-08-14 00:45:39 +04:00
|
|
|
"Makefile.linux-gcc" in the top directory of the source tree that you
|
2008-03-06 12:58:50 +03:00
|
|
|
can copy and edit to suit your needs. Comments on the generic makefile
|
2001-09-28 05:34:43 +04:00
|
|
|
show what changes are needed.
|
2001-11-01 17:41:34 +03:00
|
|
|
|
2002-08-14 00:45:39 +04:00
|
|
|
The linux binaries on the website are created using the generic makefile,
|
2008-03-06 12:58:50 +03:00
|
|
|
not the configure script.
|
2001-11-01 17:41:34 +03:00
|
|
|
The windows binaries on the website are created using MinGW32 configured
|
|
|
|
as a cross-compiler running under Linux. For details, see the ./publish.sh
|
|
|
|
script at the top-level of the source tree.
|
|
|
|
|
|
|
|
Contacts:
|
|
|
|
|
2002-08-14 00:45:39 +04:00
|
|
|
http://www.sqlite.org/
|