Skip to content
Tcl Source Code Artifact [bdd309c244]
Login

Artifact [bdd309c244]

Artifact bdd309c244a9976cf7e2aa606c5a2e06c57ff8f967c013f1895b9d719e2af648:

Wiki page [Configuration Defines] by aku on 2018-11-14 17:31:52.
D 2018-11-14T17:31:52.016
L Configuration\sDefines
N text/x-markdown
P 4cedc1bedf273de310b58ab4de6b31ae2874a7647de81fe4f004bb9168a44d2f
U aku
W 672
The Tcl Source has a number of C defines which control various (mostly internal) aspects of the system. Only a minority, if any (IIRC) can be controlled via the standard `configure` command. For the remainder it is necessary to use `-D...` or `-D...=...` with `make`.

The following defines are known:

   - `TCL_FINALIZE_ON_EXIT` - [Finalize](wiki?name=%28Initi/Fin%29alize) - free all memory on exit, despite the OS cleaning up after anyway. This reduces reports of false resource leaks for both dynamic and static memory trackers (valgrind, coverity).

   - See also [Tcl Public Macros](wiki?name=Tcl+public+macros) for an un-annotated list of the public defines.
Z 69f16322ade583a62e1c5b871863f23f