diff --git a/doc/compile-for-unix.md b/doc/compile-for-unix.md index a5caa8b1a1..7e3784d695 100644 --- a/doc/compile-for-unix.md +++ b/doc/compile-for-unix.md @@ -8,11 +8,10 @@ are general and should work on most any modern unix platform. 1. Install a C-compiler. GCC or Clang both work fine. If you are reading this document, you've probably already done that. - 2. Install TCL9 development libraries. In this note, we'll do a - private install in the $HOME/local directory, but you can make - adjustments to install TCL9 wherever you like. -

- This document assumes you are working with TCL version 9.0. + 2. *(Optional):* Install TCL development libraries. In this note, + we'll do a private install in the $HOME/local directory, + but you can make adjustments to install TCL wherever you like. + This document assumes you are working with TCL version 9.0.

  1. Get the TCL source archive, perhaps from @@ -23,6 +22,12 @@ are general and should work on most any modern unix platform.
  2. Run: `./configure --prefix=$HOME/local`
  3. Run: `make install`
+

+ As of 2024-10-25, TCL is not longer required for many + common build targets, such as "sqlite3.c" or the "sqlite3" + command-line tool. So you can skip this step if that is all + you want to build. TCL is still required to run "make test" + and similar, or to build the TCL extension, of course. 4. Download the SQLite source tree and unpack it. CD into the toplevel directory of the source tree. @@ -30,7 +35,7 @@ are general and should work on most any modern unix platform. 5. Run: `./configure --enable-all --with-tclsh=$HOME/local/bin/tclsh9.0` You do not need to use --with-tclsh if the tclsh you want to use is the - first one on your PATH. + first one on your PATH or if you are building without TCL. 6. Run the "`Makefile`" makefile with an appropriate target. Examples: @@ -39,6 +44,10 @@ are general and should work on most any modern unix platform.

  • `make sqlite3`
  • `make sqldiff`
  • `make sqlite3_rsync` + +

    None of the targets above require TCL. TCL is only needed + for the following targets: +