Overview
| Artifact ID: | 5d2e0da744f945d4273b1f7d20b1a7880503864c56cfdd8f5d98856a730290a8 |
|---|---|
| Ticket: | 4663e0636f7a24b9363e67c7a3dd25e9e495be17
TIP 538 and Tcl extensions: 'tommath.h' file not found |
| User & Date: | jan.nijtmans on 2020-05-31 20:37:47 |
Changes
- icomment:
> do you plan to merge the "fix" any time soon? just curious. I just wanted to wait for your confirmation that it helps. Got that now (Thanks!), so it's merged now. > I wondered: It would be nice to add a hint reflecting TCL_WITH_EXTERNAL_TOMMATH to tcl::pkgconfig (to figure out the LTM nature of Tcl's from within a script), wouldn't it? The real way to discover this is the TCL_DEFS macro in tclConfig.sh. It works, but it is hardly used by any extension. The TEA tcl.m4 has a macro to discover which libraries Tcl is linked with. libz and libtommath were never taken into account, but I added that now. > Why did TIP 538 propose a --with-system-libtommath switch ... Well, I didn't really like that either: If libtommath is available, I see no reason to use the internal libtommath nevertheless. But it still appears people want that. I think that - as soon as Tcl 8.7 gets final - more distro's will start providing libtommath as standard packages, the main ones already have it. So this will become less and less a problem. Thanks for all the feedback. I'll keep it like it is now for a while, let's see what more feedback arises when the next Tcl 8.7 alpha is out.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"