Skip to content
Tcl Source Code Artifact [92b5b430c0]
Login

Artifact [92b5b430c0]

Artifact 92b5b430c006bb60e45ed5bea6a8b5d1b774ab9e9f953f9832262abe4bea069d:

Ticket change [92b5b430c0] - Ticket [92c2169782c2e006|92c2169782] <i>macOS compiling and using Tcl8.7/Tk8.7</i> status still Open with 4 other changes by marc_culler on 2021-01-29 14:03:22.
D 2021-01-29T14:03:22.836
J icomment I\sthink\sthere\sshould\sbe\stwo\soptions:\r\n\r\n*\s--enable-zipfs\swhich\sadds\ssupport\sfor\szip\sfilesystems\sbut\sdoes\snot\sgenerate\sa\r\n\s\ssingle\sfile\sexecutable\sby\sembedding\sa\szip\sfile\sin\sthe\sexecutable.\r\n\r\n*\s--single-file\swhich\sdoes\sembed\sthe\szip\sfile\sand,\sof\scourse,\smust\simply\r\n\s\s--eneable-zipfs\r\n\r\n\r\nThe\snext\squestion\swould\sbe\show\sto\sembed\sthe\szip\sfile.\s\sOne\spossibility\swould\r\nbe\sto\swrite\sa\stemporary\sheader\sfile\swhich\sdefines\sa\schar\sarray\scontaining\sthe\r\nbytes\sof\sthe\szip\sfile.\s\sYes,\sthe\sheader\swould\sbe\sseveral\stimes\slarger\sthan\sthe\r\nzip\sif\seach\sbyte\sis\swritten\sout\sin\soctal\swith\scomma\sseparators.\s\sBut\sthat\r\nprobably\sdoesn't\smatter.\s\sThen\sreading\sthe\szip\sfile\swould\srequire\sseeking\sto\r\nthe\soffset\sof\sthe\schar\sarray.\s\sThat\sdoesn't\sseem\stoo\smarch\sharder\sthan\sseeking\r\nto\sthe\send\sof\sthe\soriginal\sbinary\sfile,\sbefore\sthe\szip\swas\sappended.\r\nAlternatively,\sthe\sarray\scould\sbe\szeroed\sand\sthen\sthe\szip\sfile\scould\sbe\swritten\r\ninto\sthe\sbinary\safter\scompilation.\s(But\s*before*\ssigning\sthe\scode!)
J login marc_culler
J mimetype text/plain
J username Marc\sCuller
K 92c2169782c2e0068d573dba9eb99d390ade31a7
U marc_culler
Z 1417825c12e32b89320b0111cc06f029