Re: Standalone executable

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Wed, 20 Nov 1996 12:59:35 +0100

Thorsten Geelhaar <tgeelhaa@funghi.Materna.DE> said:

Thorsten> I am searching for a possibility to make a standalone
Thorsten> application with scotty,tcl and tk. By now i have
Thorsten> build a scwish (scotty with tcl and tk),but how i said
Thorsten> i want all in one executable binary.

Thorsten> Do anyone know such a solution ?

Thorsten> I am greatful for every a tip or reference

You should take a look at the plus patches for Tcl and Tk (see the Tcl
FAQ where to find this patch). This patch includes tools to build Tcl
Tk standalone binaries. Here is what is left to do for you:

- Link the Tnm extension to the wish binary.
- Compile all the .tcl startup and library scripts into the binary.
- Find a way to load MIB files from the binary.

The last thing might be the most complex one. You will probably prefer
to load the mibs from external files.
Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)