Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1387da1612e0093851d2ca4d9ad94612f6f5a623
Ticket: 579633ffffffffffffffffffffffffffffffffff
why are there static paths in libtcl?
User & Date: jcw on 2002-07-11 16:17:17
Changes

  1. icomment:
    Logged In: YES 
    user_id=1983
    
    Don, you said "Shared vs. static library has, I believe, 
    nothing to do with it" - that's why I talked about exe's.
    
    Static libs end up in exe's.  There *is* no relativeness for 
    a static lib, because incorporating it means it loses its 
    identity.
    
    In terms of deployment of binaries, i.e. applications people 
    use, having a requirement on some dir in a fixed spot, 
    regardless where, is bound to lead to trouble.
    
    With shared libs, I can see a case for them being in a 
    standard spot, and their support files being in a standard 
    spot as well, though IMO the usual way to do it is either an 
    env var, a registry entry, or a .somethingrc file.
    
    But when bound inside an executable, built-in paths make no 
    sense (unless developers choose so, i.e. people linking *to* 
    Tcl, not the Tcl developers themselves).  One could keep the 
    current structure for backward-compatibility, but please as 
    an option - not as default build behavior.
    
    I can't see binary patching after the fact as anything other 
    than covering up for a design flaw.
    
    
    
  2. login: "jcw"
  3. mimetype: "text/plain"
  4. username: "jcw"