README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. This directory contains source code to
  2. SQLite: An Embeddable SQL Database Engine
  3. To compile the project, first create a directory in which to place
  4. the build products. It is recommended, but not required, that the
  5. build directory be separate from the source directory. Cd into the
  6. build directory and then from the build directory run the configure
  7. script found at the root of the source tree. Then run "make".
  8. For example:
  9. tar xzf sqlite.tar.gz ;# Unpack the source tree into "sqlite"
  10. mkdir bld ;# Build will occur in a sibling directory
  11. cd bld ;# Change to the build directory
  12. ../sqlite/configure ;# Run the configure script
  13. make ;# Run the makefile.
  14. make install ;# (Optional) Install the build products
  15. The configure script uses autoconf 2.61 and libtool. If the configure
  16. script does not work out for you, there is a generic makefile named
  17. "Makefile.linux-gcc" in the top directory of the source tree that you
  18. can copy and edit to suit your needs. Comments on the generic makefile
  19. show what changes are needed.
  20. The linux binaries on the website are created using the generic makefile,
  21. not the configure script. The windows binaries on the website are created
  22. using MinGW32 configured as a cross-compiler running under Linux. For
  23. details, see the ./publish.sh script at the top-level of the source tree.
  24. The developers do not use teh configure script.
  25. SQLite does not require TCL to run, but a TCL installation is required
  26. by the makefiles. SQLite contains a lot of generated code and TCL is
  27. used to do much of that code generation. The makefile also requires
  28. AWK.
  29. Contacts:
  30. http://www.sqlite.org/