freeWrap

How to build freeWrap version 4.4

  1. Compile static libraries for TCL and for TK

    Windows 95/98/NT

    This was done using MS Visual C++ 6.0 and some modifications to the TCL and TK Makefile.vc files.

    Click here to see the modified TCL Makefile.

    Click here to see the modified TK Makefile.

    Linux

    Static TCL/TK libraries were built under UNIX by using the --disable-shared option of the configure script.

  2. Run xmktclapp on the freewrap.tcl script to produce freewrap.c

    The necessary freewrap.mta file used by XMKTCLAPP is included in the freeWrap source code distribution. Alternatively, you may use the previously generated freewrap.c file provided in the source code distribution.

  3. Provide your own WinMain subroutine by doing the following. (Windows Only)

    Copy and modify the winmain.c file from the TK distribution to add a few lines that perform initializations formerly done by the DLL entry points .

    Click here to see the winmain.c file included with the freeWrap distribution.

  4. Use the Makefile for building freeWrap that comes with the freeWrap source code distribution.

    Click here to see the Makefile for compiling under Windows 95/98/NT (Visual C++ 6.0)

    Click here to see the Makefile for compiling under Linux.


Back to freeWrap home page.