Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b477c0b87acf7deeac3e0d353b769973561c8884
Ticket: 541181ffffffffffffffffffffffffffffffffff
gcc compiled Tcl library needs libgcc
User & Date: dgp on 2002-04-09 03:26:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    I traced the problem to a compiler/linker mismatch.
    
    The Tcl library was compiled with gcc, but the program
    that embeds Tcl was compiled with the Sun Workshop
    compiler.  That difference seems to cause the trouble.
    When I compiled both with the Sun compiler, everything
    worked fine.
    
    So, I do have a workaround, but it seems to me that 
    compiler matching should not be necessary.  That is,
    the shared libraries produced by Tcl's build process
    ought to be able to be linked into programs using any
    compiler -- at least on reasonable operating systems...
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"