Version 0 of Dynamic Libraries in Tcl

Updated 2003-09-09 12:57:35

Purpose: collect information, pointers, etc. regarding issues relating to Tcl and dynamic libraries.

Dynamic libraries - in Windows known as DLLs and in Unix typically called shared libraries - are bodies of C code compiled and linked in a manner that make it possible for the code to be read into memory and made a part of a running process.

In Tcl, if glue or appropriate tcl binding code is provided, and the code is compiled properly, one can make use of Tcl's load command to load a dynamic library into an interpreter creating one or more new tcl commands.

When configuing tcl, one seems to need to make certain that one specifies --enable-shared and not specify --disable-load .

Anyone know why the flags are two different words? Is shared and load really two different conditions?

[Are there any wiki or non-wiki web references which could be inserted here that discuss the approrpriate calls one must make in a library for this?]

[What other wiki and non-wiki references would be useful here?]


Category Internals