Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6564c2b1bd6d5018db47a97a1e4da2cafd2f202e2432648b9dde407a86a7e7c6
Ticket: 5c3679820afa2aca58ef3bb2041181669fab5ac7
64-Bit Extensions Do Not Work With Old Tcl Applications
User & Date: jan.nijtmans on 2025-02-26 19:36:06
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    This is intentional. Tcl 9 is not binary compatible with Tcl 8, so your old extensions need to recompiled. The magic for Tcl 8.x is 0xFCA3BAD3, the magic for Tcl 9.x (64-bit) is 0xFCA3BACF. This is done on purpose, to assure that you cannot accidently load a Tcl8-compiled extensions in a Tcl9 application or reverse.
    
    The Tcl 9 headers allow to compile for Tcl8, if you compile with -DTCL_MAJOR_VERSION=8. The magic then automatically changes to 0xFCA3BAD3.
    
    Hope this helps,
       Jan Nijtmans
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"