TK executable?

hi All,
Can any one help me to find out a solution for creating an Executable file for a TK widget script.
Is there any command line option for it.
I am working in HP Unix workstation.

Regards,
Anent

Scripts are executable when there is magic in the first line of the file and the permissions of the file are set so it is executable using chmod .

Magic looks like this ..... #!/bin/sh (for borne shell)..... your's will be different for TK.

Neo,
Yes, this is right for shell script.
i want to make a package of the GUI created using TK. how to do it.

any suggestions are welcome
Anent

Perhaps this site helps?

http://tcl.activestate.com/doc/howto/compile.html

Or this link?

http://tcl.activestate.com/scripting/

Or this one?

http://tcl.activestate.com/scripting/lesson1.html

That discusses this example of file magic....

#!/usr/local/bin/tclsh8.0