D 2025-10-01T03:20:52.752
J icomment Ashok,\sthanks\sfor\staking\sa\slook\sat\sthis.\r\n\r\n(a)\sHow\sTcl\sis\sbeing\sbuilt\s(i.e.\sconfigure\sflags)\r\n\r\n<pre>\r\nCFLAGS='-fsanitize=undefined\s-fsanitize=address'\s\\\r\nLDFLAGS='-fsanitize=undefined\s-fsanitize=address'\s\\\r\nCC='ccache\sxcrun\s--sdk\s/Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk\s--run\sclang'\s\\\r\nCPPFLAGS='-DPURIFY'\s\\\r\n./configure\s\\\r\n--without-system-libtommath\s\\\r\n--enable-64bit\s\\\r\n--enable-symbols\s\\\r\n--prefix=${HOME}/tcl90sdk26\s\\\r\n--exec-prefix=${HOME}/tcl90sdk26\r\n</pre>\r\n\r\n(b)\sA\slink\sto\sthe\sPython\sC\scode\sthat\sinitializes\sthe\sTcl\sinterpreter\r\n\r\nThe\s<tt>Tcl_AppInit()</tt>\sbeing\sused\sis\sthe\sone\s[https://github.com/python/cpython/blob/main/Modules/tkappinit.c]\srather\sthan\sthe\sone\sin\s[https://github.com/python/cpython/blob/main/Modules/_tkinter.c]\r\n\r\n(c)\sConfirm\sthat\sinit.tcl\sindeed\sdoes\snot\sexist\son\sany\sof\sthose\spaths\s(this\sis\sto\sdistinguish\snon-existence\sfrom\sinit.tcl\sraising\san\serror.\sBoth\swill\sshow\sthe\ssame\serror\smessage.\r\n\r\n/Volumes/Ventura/Users/user/library\sdoes\snot\scontain\sinit.tcl.\sThe\srest\sof\sthe\sdirectories\sdo\snot\sexist.\r\n\r\n(d)\sIf\syou\srun\sthe\stclsh\sfrom\sthe\sinstallation\sPython\sis\susing,\swhat\sdoes\s"info\slibrary"\sor\s"set\stcl_library"\sprint?\r\n\r\n<pre>\r\n$\s~/tcl90sdk26/bin/tclsh9.0\s\s\r\n%\sinfo\slibrary\r\n//zipfs:/lib/tcl/tcl_library\r\n%\sset\stcl_library\r\n//zipfs:/lib/tcl/tcl_library\r\n</pre>\r\n\r\nThe\stclsh/wish\sin\sthis\sTcl/Tk\sinstallation\sseem\sto\swork\sas\sexpected.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 6fbabfe1661c22e7990bb917e9fa49cc16e016ea
U chrstphrchvz
Z e0035e732996f4da2ec155d35fa0746f