Version 23 of SampleExtension

Updated 2013-01-01 09:22:43 by sbron

The Tcl sample extension implements an extension calculatint the Core Secure Hash Algorithm (sha1). It demonstrates a TEA-conformant Tcl extension that includes a C library that can be dynamically loaded. It also illustrates the TEA directory structure and use of Tcl autoconf extensions to to provide configure and make facilities.

Quick start guide

# Replace quux with the name of your extension
wget -qO- http://core.tcl.tk/sampleextension/tarball/quux.tar.gz | tar xzv
cd quux
wget -qO- http://core.tcl.tk/tclconfig/tarball/tclconfig.tar.gz | tar xzv
# Write your source files
# Edit configure.in
autoconf
# And then the usual:
./configure
make