<i>TIP 538 and Tcl extensions: 'tommath.h' file not found</i> status still Open with 3 other changes
by
.
D 2020-05-19T09:31:33.753
J icomment >\sWhy\sdoesn't\sTcl\sprovide\sthis\scompat/tommath.h\s\s\s...\r\n\r\nSince\slibtommath\sis\snow\san\sexternal\slibrary,\sjust\sas\szlib.\s\sThe\sprovided\s<tommath.h>\sis\s-\sstarting\swith\s8.7\s-\smaintained\sexternally.\sAs\ssoon\sas\slibtommath\s1.3\sis\sreleased,\sTcl\scan\sbe\scompiled\swith\sit\sinstead\sof\sthe\sbuilt-in.\s\sMy\shope\sis\sthat\s-\sin\sthe\scoming\syears\s-\slibtommath\s1.2\swill\sbe\sprovided\sby\smore\s(Linux)\sdistributions\s(MacOS\salready\shas\sit\sin\shomebrew\snow),\sso\sinstallation\sof\slibtommath\swill\sbecome\sless\sof\sa\sburden.\s\sI\s-\sactually\s-\sdon't\ssee\sthe\sneed\sfor\sthe\s--without-system-libtommath\soption:\sIf\sa\ssuitable\sexternal\slibtommath\sis\savailable,\swhy\swould\syou\sstill\swant\sto\sbuild\sa\sstripped-down\sversion\sinto\sTcl????\r\n\r\nSo,\syes,\sit's\sa\sburden.\sI\sdon't\sthink\sTcl\sshould\stake\scare\sof\sinstalling\s<tommath.h>,\ssince\swhenever\sa\snewer\slibtommath\sversion\sis\sreleased\sthe\snewer\sversion\shas\spreference.\slibtommath's\smaintenance\sis\sextenally\snow,\sTcl\sshould\sfollow\sit.\sTcl\sproviding\sa\sstripped-down\sinternal\sversion\sis\sjust\sa\sservice.\sThe\s<tommath.h>\sincluded\sby\sTcl\sis\sjust\sa\sfallback\sin\scase\ssomeone\sdoesn't\swant\sto\sget\sit\ssomewhere\selse.\r\n\r\nI\scould\simagine\sTEA\sproviding\sa\sTEA_TOMMATH\smacro,\swhich\sdetermines\sthe\sinclude/linker\sflags\sdepending\son\show\sTcl\sis\sbuilt.\sBut\sthere\sare\snot\sso\smany\sextensions\swith\sthis\sproblem,\sNSF\sis\sabout\sthe\sonly\sone\sI\sknow\sof.\sWell,\s\ssearching\sfor\sit,\sI\sfound\s"tclral"\sand\s"twapi"\stoo,\sso\sthat\smakes\s3.\sDepending\son\san\sexternal\slibtommath\swould\smake\sthings\sa\slot\seasier.\r\n\r\nI'll\sthink\sabout\swhat\scan\sbe\sdone\sto\simprove\sthe\ssituation.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 4663e0636f7a24b9363e67c7a3dd25e9e495be17
U jan.nijtmans
Z cf4de5d5f7e2a5ed009e33e6f2ebc55c