Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

Compile TCL script to exe for Windows

瀏覽次數:181 次
跳到第一則未讀訊息

Jason Guto

未讀,
2018年1月19日 上午9:17:202018/1/19
收件者:
Folks,
I have completed a network utility; however, I will need to compile the script to EXE so I can deployment to machines that will not have TCL installed.

I have tried to follow the following instructions; however, I am not understanding the 'makefile'. In addition, I will be using Visual Studio 2017.

If anyone has done this with VS 2017, and has time to spare - I will like to discuss how I can accomplish my goal.

Thank you
Jason

Arjen Markus

未讀,
2018年1月19日 上午9:23:342018/1/19
收件者:
The general technique we use for this sort of things is to wrap the scripts into an executable. Freewrap and tclkit are popular facilities.

See the Wiki for more details.

Regards,

Arjen

Jason Guto

未讀,
2018年1月24日 上午9:00:372018/1/24
收件者:
Thank you for the details. Can you recommend one? Or have you used one before?

Arjen Markus

未讀,
2018年1月24日 上午10:14:452018/1/24
收件者:
I regularly use tclkit, I have used freewrap in the past, but I find tclkit easy enough for my purposes. I guess it is a matter of taste, more than anything else.

Regards,

Arjen

Mike Griffiths

未讀,
2018年1月24日 下午3:38:592018/1/24
收件者:
More specifically, take a look at http://wiki.tcl.tk/8900. You need a Tcl executable (I'd suggest either a Tclkit or one of the ActiveState 'basekits', which can be obtained from an ActiveTcl install or teapot), and the sdx.kit utility.

Something to edit/replace both the icons and the file information for the newly-created .exe are also useful (otherwise they show Tcl and Tk/ActiveState defaults); I think sdx can do at least the second of those, but I use the "Resource Hacker" program for both, personally.

Jason Guto

未讀,
2018年1月24日 下午3:54:052018/1/24
收件者:
Hmmm.... This is a little beyond my current skill set. Can someone explain and walk me through the process in detail? Is this similar concepts as PAR::Packer for Perl or PyInstaller for Python?

Thank you
0 則新訊息