TOC PREV NEXT INDEX

 


Statically Linking Windows Interpreters


To create a statically-linked Tcl application under Windows, you link your application with the static version of the Tcl library and, if needed, the Tk library. You also must link with all other Tcl extension libraries used by your application, and any other application-specific libraries your application might use (for example, custom driver software for interacting with a special peripheral device).

The TclPro static Windows libraries are located in the win32-ix86\lib subdirectory of the TclPro installation directory. Table 15 lists the static libraries shipped with TclPro.

Table 15 Windows Libraries for Static Linking 
Library
Description
Tcl83s.lib
Tcl static library without debugging symbols
Tcl83sd.lib
Tcl static library with debugging symbols
Tk83s.lib
Tk static library without debugging symbols
Tk83sd.lib
Tk static library with debugging symbols
tbcload13s.lib
tbcload static library without debugging symbols
tbcload13sd.lib
tbcload static library with debugging symbols
itcl32s.lib
[incr Tcl] static library without debugging symbols
itcl32sd.lib
[incr Tcl] static library with debugging symbols
itk32s.lib
[incr Tk] static library without debugging symbols
itk32sd.lib
[incr Tk] static library with debugging symbols
tclx83s.lib
TclX without debugging symbols
tclx83sd.lib
TclX with debugging symbols
tkx83s.lib
TkX without debugging symbols
tkx83sd.lib
TkX with debugging symbols

Note that TclPro uses the convention of ending a static library with the letter "s"; this makes it easy to distinguish .lib files that are export libraries for a dynamic library from corresponding static libraries. For example, Tcl83.lib is the export library for Tcl83.dll, whereas Tcl83s.lib is the Tcl static library. Note also that the "d" convention is used as well, so that Tcl83sd.lib is a static library built with debug options. The "d" libraries were all built with the /MTd flag, the others with /MT.

If you use the "d" libraries, link your application with LIBCMTD.LIB; otherwise link it with LIBCMT.LIB.




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX