xref: /freebsd-14.2/contrib/sqlite3/tea/README (revision 076b9443)
1*076b9443SCy SchubertThis is the SQLite extension for Tcl using the Tcl Extension
2*076b9443SCy SchubertArchitecture (TEA).  For additional information on SQLite see
3*076b9443SCy Schubert
4*076b9443SCy Schubert        http://www.sqlite.org/
5*076b9443SCy Schubert
6*076b9443SCy Schubert
7*076b9443SCy SchubertUNIX BUILD
8*076b9443SCy Schubert==========
9*076b9443SCy Schubert
10*076b9443SCy SchubertBuilding under most UNIX systems is easy, just run the configure script
11*076b9443SCy Schubertand then run make. For more information about the build process, see
12*076b9443SCy Schubertthe tcl/unix/README file in the Tcl src dist. The following minimal
13*076b9443SCy Schubertexample will install the extension in the /opt/tcl directory.
14*076b9443SCy Schubert
15*076b9443SCy Schubert	$ cd sqlite-*-tea
16*076b9443SCy Schubert	$ ./configure --prefix=/opt/tcl
17*076b9443SCy Schubert	$ make
18*076b9443SCy Schubert	$ make install
19*076b9443SCy Schubert
20*076b9443SCy SchubertWINDOWS BUILD
21*076b9443SCy Schubert=============
22*076b9443SCy Schubert
23*076b9443SCy SchubertThe recommended method to build extensions under windows is to use the
24*076b9443SCy SchubertMsys + Mingw build process. This provides a Unix-style build while
25*076b9443SCy Schubertgenerating native Windows binaries. Using the Msys + Mingw build tools
26*076b9443SCy Schubertmeans that you can use the same configure script as per the Unix build
27*076b9443SCy Schubertto create a Makefile. See the tcl/win/README file for the URL of
28*076b9443SCy Schubertthe Msys + Mingw download.
29*076b9443SCy Schubert
30*076b9443SCy SchubertIf you have VC++ then you may wish to use the files in the win
31*076b9443SCy Schubertsubdirectory and build the extension using just VC++. These files have
32*076b9443SCy Schubertbeen designed to be as generic as possible but will require some
33*076b9443SCy Schubertadditional maintenance by the project developer to synchronise with
34*076b9443SCy Schubertthe TEA configure.in and Makefile.in files. Instructions for using the
35*076b9443SCy SchubertVC++ makefile are written in the first part of the Makefile.vc
36*076b9443SCy Schubertfile.
37