1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
I. Building the Tcl thread extension for Windows
================================================
Thread extension supports two build options:
o. MinGW builds:
----------------
The extension can be compiled under Windows using the
MinGW (http://www.mingw.org) environment. You can also
download the ready-to-go copy of the MinGW from the
same place you've downloaded this extension.
You should compile the Tcl core with MinGW first. After
that, you can compile the extension by running the
configure/make from this directory. You can also use the
CONFIG script to do this. You might want to edit the
script to match your environment and then just do:
sh CONFIG
This should go smoothly, once you got Tcl core compiled ok.
o. Microsoft MSVC++ build:
--------------------------
You should use the makefile.vc file for the MSVC++ located
in the vc/ directory. Please consult the vc/README.txt and
vc/makefile.vc files for more details.
Alternatively, you can use the MSVC++ IDE and open the
thread_win.dsw workspace file.
II. Building optional support libraries
=======================================
As of 2.6 release, this extension supports persistent shared
variables. To use this functionality, you might need to download
and compile some other supporting libraries. Currently, there is
a simple implementation of shared variable persistency built atop
of popular GNU Gdbm package. You can obtain the latest version of
the Gdbm from: http://www.gnu.org/software/gdbm/gdbm.html.
For the impatient, there are Windows ports of GNU Gdbm found on
various places on the Internet. The easiest way to start is to go
to the GnuWin32 project: http://sourceforge.net/projects/gnuwin32
and fetch yourself a compiled GNU Gdbm DLL.
-EOF-
|