<i>TIP 538 and Tcl extensions: 'tommath.h' file not found</i> status still Open with 3 other changes
by
.
D 2020-05-31T09:11:05.850
J icomment Hi\sJan,\s\r\n\r\nThanks\sagain\sfor\syour\shelp\sand\ssry\sfor\sgetting\sback\sto\sit\swith\smuch\sof\sa\sdelay:\r\n\r\n*\sI\suse\r\n\r\n#if\sTCL_MAJOR_VERSION\s>\s8\s||\sTCL_MINOR_VERSION\s>\s6\r\n#define\sTCL_NO_TOMMATH_H\s1\r\n#endif\r\n#include\s<tclTomMath.h>\r\n\r\nand\stested\sit\sagainst\sa\sTcl\sat\s[1baf516ed4f18e08]\s\swith\sembedded\sLTM\sand\swith\sa\ssystem-wide\sLTM.\sAll\slooks\sgood.\s(Took\sme\sa\swhile\sto\sget\sLTM\s2.0\sinstalled\sand\srecognized\sby\sTcl\sunder\smacOS,\sno\shomebrew.)\r\n\r\n*\sI\swondered:\sIt\swould\sbe\snice\sto\sadd\sa\shint\sreflecting\sTCL_WITH_EXTERNAL_TOMMATH\sto\stcl::pkgconfig\s(to\sfigure\sout\sthe\sLTM\snature\sof\sTcl's\sfrom\swithin\sa\sscript),\swouldn't\sit?\r\n\r\n*\sWhy\sdid\sTIP\s538\spropose\sa\s--with-system-libtommath\sswitch,\srather\sthan\sa\s--with-libtommath=/optional/path/to/ltm/installation\s...\s?\sThis\swould\sbe\suseful\sif\sltm\sis\snot\sprovided\sin\sa\sstandard\slocation\s(/opt/local\setc.)\sand\scould\sstill\sdefault\sto\sstandard\spaths,\sif\somitted?\sThis\sis\smore\sin\sline\swith\swhat\sothers\s(e.g.\stDOM)\sdo\sin\ssimilar\ssituations\s(system-wide\sexpat).\r\n\r\n*\sA\sTEA_TOMMATH\smacro\swould\sbe\sstill\sappreciated,\sbecause\sthis\sway\snot\severy\sTEA\scompliant\sextension\sneeds\sto\sbe\smanually\sfixed\sto\sadd\sincludes\sand\slink-time\sflags\son\sits\sown\s(iff\sbuild\sagainst\sa\sTcl\swith\sexternal\sLTM).\r\n\r\nThx,\sStefan
J login mr_calvin
J mimetype text/plain
K 4663e0636f7a24b9363e67c7a3dd25e9e495be17
U mr_calvin
Z c904d395db6e78c9190747666dacf26e