summaryrefslogtreecommitdiffstats
path: root/doc/zipfs.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:21:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-27 21:21:07 (GMT)
commitf2686eca9d9baeca48d8b09805ab1eec8db83e40 (patch)
treeda7663253e4363709e5cf1521d1685a7300452c5 /doc/zipfs.n
parentc871de898a41d7e9c1d7cba05483944546c1ad5d (diff)
downloadtcl-f2686eca9d9baeca48d8b09805ab1eec8db83e40.zip
tcl-f2686eca9d9baeca48d8b09805ab1eec8db83e40.tar.gz
tcl-f2686eca9d9baeca48d8b09805ab1eec8db83e40.tar.bz2
Improve details about attached zipfs archives in tclsh and wish (backport from 9.0)
Diffstat (limited to 'doc/zipfs.n')
-rw-r--r--doc/zipfs.n14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/zipfs.n b/doc/zipfs.n
index 0a05078..9776590 100644
--- a/doc/zipfs.n
+++ b/doc/zipfs.n
@@ -56,7 +56,7 @@ This takes the name of a file, \fIfilename\fR, and produces where it would be
mapped into a zipfs mount as its result. If specified, \fImountpoint\fR says
within which mount the mapping will be done; if omitted, the main root of the
zipfs system is used. The \fIinZipfs\fR argument is a an optional boolean
-which controls whether to fully canonicalise the name; it defaults to true.
+which controls whether to fully canonicalize the name; it defaults to true.
.TP
\fBzipfs exists\fR \fIfilename\fR
.
@@ -193,6 +193,18 @@ then the resulting image is an executable that will \fBsource\fR the script in
that \fBmain.tcl\fR after mounting the ZIP archive, and will \fBexit\fR once
that script has been executed.
.PP
+\fBNote:\fR \fBtclsh\fR and \fBwish\fR can be built using either
+dynamic binding or static binding of the core implementation
+libraries. With a dynamic binding, the base application Tcl_Library
+contents are attached to the \fBlibtcl\fR and \fBlibtk\fR shared
+library, respectively. With a static binding, the Tcl_Library
+contents, etc., are attached to the application, \fBtclsh\fR or
+\fBwish\fR. When using \fBmkimg\fR with a statically built tclsh, it is
+the user's responsibility to preserve the attached archive by first
+extracting it to a temporary location, and then add whatever
+additional files desired, before creating and attaching the new
+archive to the new application.
+.PP
\fBCaution:\fR highly experimental, not usable on Android, only partially
tested on Linux and Windows.
.RE