47. Building Tcl and Extensions

This chapter discusses how to compile Tcl, Tcl extensions, and code that embeds Tcl on three platforms: Unix (including Linux and the various BSD systems), Mac OS, and Windows. For most people, compiling Tcl is not really necessary, as there are various ways to get binary distributions, as discussed in Appendix A. However, if you are integrating Tcl into your own program, you need to be familiar with the process. Building extensions to load in Tcl is often the best approach, and this chapter explains how to go about doing so in a portable way.

47.1 Building Tcl and Tk

The source code for Tcl and Tk is maintained on SourceForge, whose main project home page is at http://tcl.sourceforge.net. Tcl and Tk are maintained ...

Get Tcl and the Tk Toolkit, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.