Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4267193cdc3699db0f3519f43417737e1b232a44
Ticket: 1031781fffffffffffffffffffffffffffffffff
Problems building on Windows 2k with VS.NET
User & Date: nobody on 2004-09-21 19:56:23
Changes

  1. icomment:
    Logged In: NO 
    
    It turns out that I need to define BUILD_STATIC when 
    compiling source code that links to the static library.
    
    Ugh!
    
    This is because tcl.h interprets the BUILD_STATIC symbol to 
    define EXTERN for DLL linking. Lots of other libraries can be 
    built as either static or DLL/Dynamic without applications that 
    link to them having to know about it or define any symbols to 
    do so. I recommend using them as an example to figure out 
    how to do it.
    
    Ideally applications that link to Tcl should specify whether 
    they want to statically link or dynamically link by linking to 
    either tcl84s.lib or tcl84.lib respectively, and not by defining 
    build symbols.
    
    If you want some ideas, email me (email address in previous 
    bit of bug report).
    
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"