D. Richard Hipp's "utility [L1 ] that helps you mix C/C++ with Tcl/Tk to make a standalone executable."
[point to other "compilers"]
"DrumFire" reports that he has been able to use mktclapp to build .so-s from .tcl-s, for the purpose of obfuscation of the plain-text .tcl source. This was his recipe:
mktclapp -notk -standalone -main-script function.tcl \ -extension function function.tcl > function.c gcc -shared -o function.so function.c etc etc etc
The result is a loadable function.so.