Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 57e94d26c3b779b033d562b6c4523eb404e19d38
Ticket: 3010850fffffffffffffffffffffffffffffffff
unable to link tcl in gcc
User & Date: dkf on 2010-06-03 17:23:19
Changes

  1. closedate changed to: "2010-06-03T10:23:19"
  2. closer changed to: "dkf"
  3. icomment:
    
    
    allow_comments - 1
    
    1) Your code should call Tcl_FindExecutable before Tcl_CreateInterp (so that the Tcl library can initialize itself); see the documentation for how to do that.
    
    2) Your bug is that you should also link against the Tcl library; compilers aren't smart enough to work that out for themselves (should be? Maybe, but definitely aren't). This might be as simple as adding -ltcl to where you call the compiler, or might also require telling the compiler/linker where to look (with -L/path/to/libdir).
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. subsystem changed to: "69. Other"
  9. username: "dkf"