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