COFFEE
Wiki Page Building with COFFEE
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Version:0778aa8decdaad0053b442d1fe787b07bc0bd725
Date: 2009-04-03 21:23:12
Original User: Twylite

Content

Instructions for building tclsh on Windows using NMake and COFFEE.

COFFEE v0.1 has been tested with Tcl 8.6b1 on Windows XP with MSVC6 (using NMake only), and builds a static threaded tclsh.

Build environment

You will need to download & install CMake from http://www.cmake.org/. Ensure that the CMake bin/ directory is in your PATH.

Set up your MSVC build environment using VCVARS32.BAT and/or your platform SDK's SetEnv.Bat.

If you are using MSVC6 you will want to check that the LIBPATH environment variable is set, or use set LIBPATH=%LIB% to avoid a bunch of warnings from CMake.

Sources

Download Tcl sources from http://tcl.sourceforge.net/. Extract the Tcl source archive into a local folder.

Download COFFEE from 166f578d6c (using the ZIP archive command). You may need to login first as anonymous/anonymous.

Extract COFFEE into your Tcl source folder, so that CMakeFiles.txt is in the same folder as the Tcl ChangeLog.

Building

CMake is able to create out-of-source-tree builds, and this is the preferred way to build with CMake.

In your Tcl source folder:

  mkdir build && cd build
  cmake -G "NMake Makefiles" ..
  nmake

CMake appears to perform a DEBUG build by default. You can try the following options (in your build/ folder)