summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-20 11:55:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-20 11:55:29 (GMT)
commit96609fe537a84e955b7be5cf97c64e0737ea7103 (patch)
tree5d98c70461ec2d293a3fa8f56c79483fe93748f0 /doc
parent4503f8049c9e435aee81d08b5ed7a0d9dc01bd49 (diff)
downloadtcl-96609fe537a84e955b7be5cf97c64e0737ea7103.zip
tcl-96609fe537a84e955b7be5cf97c64e0737ea7103.tar.gz
tcl-96609fe537a84e955b7be5cf97c64e0737ea7103.tar.bz2
Fix [a55872c242]: tcl8.7 on windows: linking against stubs library is now required in 8.7.
If the Tcl library is static (.lib/.a) then the stub library is (with this fix) no longer necessary. If the Tcl library is a dll, document that the stub library is now necessary.
Diffstat (limited to 'doc')
-rw-r--r--doc/Tcl_Main.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/Tcl_Main.3 b/doc/Tcl_Main.3
index 904ecbe..6a37cda 100644
--- a/doc/Tcl_Main.3
+++ b/doc/Tcl_Main.3
@@ -85,8 +85,10 @@ that does nothing but invoke \fBTcl_Main\fR.
.PP
\fBTcl_Main\fR is not provided by the public interface of Tcl's
stub library. Programs that call \fBTcl_Main\fR must be linked
-against the standard Tcl library. Extensions (stub-enabled or
-not) are not intended to call \fBTcl_Main\fR.
+against the standard Tcl library. If the standard Tcl library is
+a dll (so, not a static .lib/.a) , then the program must be linked
+against the stub library as well. Extensions
+(stub-enabled or not) are not intended to call \fBTcl_Main\fR.
.PP
\fBTcl_Main\fR is not thread-safe. It should only be called by
a single main thread of a multi-threaded application. This