From: Daniel A. S. <st...@ic...> - 2002-01-04 12:31:40
|
Larry, Jean-Claude, I spent some time on tclkit-mac over the break, and thanks to JC's excellent work it wasn't that hard to get the current tclkit HEAD to build with the tcl/tk HEAD. (I checked in some changes to tcl & tk in the process) the results are at http://www.maths.mq.edu.au/~steffen/tcltk/tclkit/ both a static and a shared build are available, these are FAT builds, i.e. containing both 68k and PPC code. I've just tested them successfully on a 68k mac with OS 7.5.5 (w/ appearance mgr installed). the static build is smaller and doesn't need CFM68k but cannot load dynamic libraries on ppc or 68k. also available at the above url are the patches to metakit & tclkit, changed projects in xml form, and the new files for tclkit/mac needed to get all this to work. (all text files are latin1 encoded w/ unix line-endings, and need conversion to macroman before using on a mac, but are good to be checked into cvs from a unix box as is) (Vince, some small changes to your vfs code were necessary, c.f. http://www.maths.mq.edu.au/~steffen/tcltk/tclkit/tclkit/tclkit-mac.patch ; this confirms that the new 8.4 vfs code works indeed fine on the mac as well and is really _very_ nice!) I don't think packaging mac dynamic libraries in a scripted document will work currently as they need information from their resource forks to be loadable, but that could potentially be handled using the [resource] command. All other functionality is there, which makes single file tk apps on the mac possible! very nice indeed... both sdx and wikit work fine on the mac as well btw. Cheers, Daniel At 2:58 -0500 on 20/12/01, Larry W. Virden wrote: >I don't know if people are aware of TclKit, but it is a single >executable file containing all parts of Tcl, Tk, and a number of other >useful binary and tcl script extensions. It is a wonderful tool for >distributing applications - using tclkit and a tool called sdx, you can >take a multifile mixed mode application (combining binaries, scripts, etc.) >and distribute two files - the Tclkit 'runtime' and the application in >what is known as 'scripted document' format. > >Anyways, http://purl.org/tcl/wiki/tclkit leads to pointers to an older version >for the PowerMac , but I've not found anything relatively new and for the >older Macs (of which I have about 4 or 5 sitting around the house). > >If anyone has such a creature they are willing to share, please let me know. >And if not, but you would be interested in having/creating such a thing, >I'd like to see if we can sweet talk someone on the group into creating >such a thing for us. -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |