You just need to take the command from the (tcl/tk)AppInit.c file supplied with
each application and combine them into a separate file. Then link this
file with the relevant libraries and you've got both. It's not terribly
hard to do, just takes a little know-how the first time.
Kinda like this:
(taken fron SuperInit.c)
the easiest way to do this is to take the init file from one, diff it with
the init file from the other, and merge these changes into one of them:
if (TclX_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
if (TkX_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
#ifdef ORATCL
if (Oratcl_Init(interp) == TCL_ERROR) {
return TCL_ERROR;
}
#endif
if (Blt_Init(interp) == TCL_ERROR) {
(Taken from the Tcl_AppInit(interp) routine)
-- ____________________________________________________________________________ Doug Hughes Engineering Network Services System/Net Admin Auburn University doug@eng.auburn.edu Pro is to Con as progress is to congress