[Xotcl] How to build XOTcl 1.6.8 so that it works with both Tcl 8.5 and 8.6?
Yusuke Yamasaki
tm9233yy at gmail.com
Tue Oct 14 07:05:02 CEST 2014
Hello,
Because the teapot repository has up to XOTcl 1.6.7 for Windows,
I tried to build 1.6.8 for myself. The easiest way was to use Msys/MinGW.
./configure --enable-threads --prefix=/c/bin/tcl8.5.16 \
--with-tcl=/c/src/tcl8.5.16/win --with-tk=/c/src/tk8.5.16/win \
--with-actiweb=no --with-xotclsh=no --with-xowish=no \
--without-expat --without-gdbm \
--with-tclinclude=/c/bin/tcl8.5.16/include \
--with-tkinclude=/c/bin/tcl8.5.16/include
make
make install
However it only works with either 8.5 or 8.6 depending on the version
which I specified by --with-tcl option. Though I don't have deep
understanding of the stub mechanism, I know it is a key to make a
generic version of a C extension. I think XOTcl has -DUSE_TCL_STUBS=1
by default configuration according to config.log.
Is there anything wrong with my build procedure?
Windows 7 Professional SP1 64bit
Tcl/Tk 8.5.16
---
Yusuke Yamasaki <tm9233yy at gmail.com>
More information about the Xotcl
mailing list