blob: 0d65e518f9f8fa98b190bd4e54cb1a325e7efc74 [file] [log] [blame]
drh348784e2000-05-29 20:41:49 +00001This directory contains source code to
2
drh76800322002-08-13 20:45:39 +00003 SQLite: An Embeddable SQL Database Engine
drh348784e2000-05-29 20:41:49 +00004
5To compile the project, first create a directory in which to place
drh71eb93e2001-09-28 01:34:43 +00006the build products. It is recommended, but not required, that the
7build directory be separate from the source directory. Cd into the
8build directory and then from the build directory run the configure
9script found at the root of the source tree. Then run "make".
drh348784e2000-05-29 20:41:49 +000010
11For example:
12
13 tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
14 mkdir bld ;# Build will occur in a sibling directory
15 cd bld ;# Change to the build directory
16 ../sqlite/configure ;# Run the configure script
17 make ;# Run the makefile.
drh6841f162005-03-21 00:47:18 +000018 make install ;# (Optional) Install the build products
drh348784e2000-05-29 20:41:49 +000019
mlcreecha9e852b2008-03-06 09:58:50 +000020The configure script uses autoconf 2.61 and libtool. If the configure
drh71eb93e2001-09-28 01:34:43 +000021script does not work out for you, there is a generic makefile named
drh76800322002-08-13 20:45:39 +000022"Makefile.linux-gcc" in the top directory of the source tree that you
mlcreecha9e852b2008-03-06 09:58:50 +000023can copy and edit to suit your needs. Comments on the generic makefile
drh71eb93e2001-09-28 01:34:43 +000024show what changes are needed.
drha8b38d22001-11-01 14:41:34 +000025
drh76800322002-08-13 20:45:39 +000026The linux binaries on the website are created using the generic makefile,
drhc4c307a2009-09-09 14:48:21 +000027not the configure script. The windows binaries on the website are created
28using MinGW32 configured as a cross-compiler running under Linux. For
29details, see the ./publish.sh script at the top-level of the source tree.
30The developers do not use teh configure script.
31
32SQLite does not require TCL to run, but a TCL installation is required
33by the makefiles. SQLite contains a lot of generated code and TCL is
34used to do much of that code generation. The makefile also requires
35AWK.
drha8b38d22001-11-01 14:41:34 +000036
37Contacts:
38
drh76800322002-08-13 20:45:39 +000039 http://www.sqlite.org/