Skip to content
Tcl Source Code Changes To Configuration Defines
Login

Changes To Configuration Defines

Initial version of "Configuration Defines"






1
2
3
4
5
+
+
+
+
+
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).