---- I have two files (one C and one Tcl) that makes a package. The C file is compiled by hand. Now the question is .. how do I add the required autogoo to distribute it? any docs/pointers? ---- http://core.tcl.tk/sampleextension/timeline%|%Sampleextension%|% is the answer. The Tcl sample extension implements an extension calculating the Core Secure Hash Algorithm (sha1). It demonstrates a [TEA]-conformant [Tcl] [extension] that includes a [C] library that can be dynamically [load]ed. It also illustrates the TEA directory structure and use of Tcl autoconf extensions to to provide '''configure''' and '''make''' facilities. * Location ** current *** http://core.tcl.tk/sampleextension/ ** previous *** http://tcl.cvs.sourceforge.net/tcl/sampleextension/ ** nightly snaphots, `sample-YYYYMMDD.tar.gz` *** ftp://ftp.tcl.tk/pub/tcl/nightly-cvs/ *** 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/ ** very old versions *** ftp://www.tcl.tk/pub/tcl/examples/tea/ * related topics ** [tclconfig] ** [how to use C functions from Tcl]. ** [TEA] ** [TEA2] ** https://bitbucket.org/smh377/ariesengine/src/b036aecb0a8f0b08fa1171efbe65e7055ad4fcc3/bindings/tcl/%|%an alternative using CMake%|% can be found in the Aries Engine (formerly [the brick engine]) repository ***Quick start guide*** ====== # Replace quux with the name of your extension EXTNAME=quux wget -qO- http://core.tcl.tk/sampleextension/tarball/${EXTNAME}.tar.gz | tar xzv cd ${EXTNAME} 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 ====== <> Package | Porting | Foreign Interfaces | Cryptography