The [CVS]-hosted sample module, available from http://tcl.sf.net/ , is intended primarily to demonstrate to [C] developers how to write a [Tcl] [extension] in C that can be dynamically [load]ed as well as how to structure the directories so that someone can use '''configure''' and '''make''' to build and install said extension. In coarser perspective, think of it as a lesson in [how to use C functions from Tcl]. For more background information, read about [TEA] and [TEA2]. ----- [[What's the exact URL at SF?]] Not exactly the url, but here's the cvsweb view of the sampleextension module: http://tcl.cvs.sourceforge.net/tcl/sampleextension/ [[The exact URL of what? SampleExtension? Modules don't really have an exact URL. And for whatever reason, the code's never been released on SF.net so there isn't a tar file there to download. Instead, you have to go and visit the nightly cvs snapshots at ftp://ftp.tcl.tk/pub/tcl/nightly-cvs/]] with filename sample-yyyymmdd.tar.gz. ----- I experienced problem using the ftp server ftp://tcl.tk (time out, eh !). Solved this by using a mirror http site, such as http://ftp.cs.pu.edu.tw/Unix/lang/tcl/nightly-cvs/?C=S;O=A http://ftp2.uk.freebsd.org/sites/ftp.tcl.tk/pub/tcl/nightly-cvs/ Also, take care of the fact that on the cvs repository, the sample extension module is "sampleextension", where as on the daily snaphsots, the sample extension is called "sample" only. ----- There is also ftp://www.tcl.tk/pub/tcl/examples/tea/ but these are much older examples than what is available in CVS. ---- [Category Package] | [Category Porting] | [Category Foreign Interfaces]