From: Mar...@HS...
> what process did you follow to install
>threaded and non-threaded tcl (I'm assuming UNIX here). I've installed
>threaded tcl here, but think it might be nice to have an un-threaded
>version also available for general use.
I first configured and compiled tcl with threads. I found the resulting
library and tclsh to be pretty painful in terms of speed, and I had concerns
about using it with Tk, etc.
I asked around on comp.lang.tcl and elsewhere and Jeff Hobbs asked why
I just didn't edit the Makefile to have it install the library and stand
alone interpreter as a different name, in the same directory as everything
else. I started to hand copy things but took a look at the Makefile
generated. I noticed that in many places, the Makefile symbol ${DBG}
is used so that both normal and a symbol enabled binaries could be installed
in parallel. So I hand edited the Makefile to fix a few places that were
missed, then set the DBG symbol to "t". I then re-installed the thread
version of tcl, resulting in a tclsht and libtcl8.4t.so . I then did
a make distclean, configure, and make install and got the non-threaded
tcl installed as well.
--
Never apply a Star Trek solution to a Babylon 5 problem.
Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
-><-
|