| 1 |
This is the SQLite extension for Tcl using the Tcl Extension |
| 2 |
Architecture (TEA). For additional information on SQLite see |
| 3 |
|
| 4 |
http://www.sqlite.org/ |
| 5 |
|
| 6 |
|
| 7 |
UNIX BUILD |
| 8 |
========== |
| 9 |
|
| 10 |
Building under most UNIX systems is easy, just run the configure script |
| 11 |
and then run make. For more information about the build process, see |
| 12 |
the tcl/unix/README file in the Tcl src dist. The following minimal |
| 13 |
example will install the extension in the /opt/tcl directory. |
| 14 |
|
| 15 |
$ cd sqlite-*-tea |
| 16 |
$ ./configure --prefix=/opt/tcl |
| 17 |
$ make |
| 18 |
$ make install |
| 19 |
|
| 20 |
WINDOWS BUILD |
| 21 |
============= |
| 22 |
|
| 23 |
The recommended method to build extensions under windows is to use the |
| 24 |
Msys + Mingw build process. This provides a Unix-style build while |
| 25 |
generating native Windows binaries. Using the Msys + Mingw build tools |
| 26 |
means that you can use the same configure script as per the Unix build |
| 27 |
to create a Makefile. See the tcl/win/README file for the URL of |
| 28 |
the Msys + Mingw download. |
| 29 |
|
| 30 |
If you have VC++ then you may wish to use the files in the win |
| 31 |
subdirectory and build the extension using just VC++. These files have |
| 32 |
been designed to be as generic as possible but will require some |
| 33 |
additional maintenance by the project developer to synchronise with |
| 34 |
the TEA configure.in and Makefile.in files. Instructions for using the |
| 35 |
VC++ makefile are written in the first part of the Makefile.vc |
| 36 |
file. |