FetchDICOM is a program to interact with a DICOM server to fetch and push images. Specifically, it uses the dcmtk to query and move images from the server locally.
The program is written in Tcl/Tk and is packaged using the StarKit wrapping mechanism. The basic mechanism for creating the executable is to invoke the TclKit to wrap the source code into a executable with the TclKit embedded.
sdx wrap FetchDICOM -runtime tclkit
The distribution contains a basic Makefile with targets for Windows, Linux and Mac.
make win make linux make macosx
These make targets depend on having the StarKit and TclKit installed.