224
225
226
227
228
229
230
|
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
`libtommath` functions are available. If including `tommath.h` (external library), all `libtommath`
functions are available.
* Extensions using the definitions of `mp_digit`, `mp_word` or `mp_int` need to include either
`tclTomMath.h` or `tommath.h` in addition `tcl.h`.
See See [TIP 538](https://core.tcl-lang.org/tips/doc/trunk/tip/538.md).
## Building
### Error `interpreter uses an incompatible stubs mechanism`
The load command (directly or via `package require`) may raise the error
*interpreter uses an incompatible stubs mechanism*.
This *may* happen when building against a private Tcl 9 installation with a system installed Tcl 8 version. For example, if you do
```
% path/to/extension/configure --with-tcl=/path/to/tcl9/lib
% make
```
To resolve, also specify the `--with-tclinclude` option to `configure`.
```
% path/to/extension/configure --with-tcl=/path/to/tcl9/lib --with-tclinclude=/path/to/tcl9/include
% make
```
See the [ticket](https://core.tcl-lang.org/tcl/tktview/6f22c7a1fc) for the specific circumstances when this may happen.
|