Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 46bd51db9052c2bed652a7174b3a73affa3859200bb4f10cfee11f38560d524f
Ticket: cb338c130b8fba479c2848de4fcd2045c1db12b1
Crosscompiliation issue with recent releases (8.6.16/9.0.1)
User & Date: apnadkarni on 2025-01-07 14:53:15
Changes

  1. icomment:
    A proposed solution is in branch [bug-cb338c130b8f](https://core.tcl-lang.org/thread/timeline?r=bug-cb338c130b8f) in the Thread repository.
    
    For cross-compilation, you need to either have a Tcl9 shell in your PATH or set `TCLSH_NATIVE` to point to it. For example, when building the core distribution with included packages.
    
    ```
    TCLSH_NATIVE=/home/apn/tcl/trunk/bin/tclsh9.0 make
    ```
    
    (Above, the Tcl make invokes the pkgs configure scripts)
    
    Or if building thread directly
    
    ```
    TCLSH_NATIVE=/home/apn/tcl/trunk/bin/tclsh9.0 ../configure --with-tcl=/data/home/apn/src/9.0.1/tcl/win/build-mingw64 --with-tclinclude=/data/home/apn/src/9.0.1/tcl/generic --host=x86_64-w64-mingw32 --enable-shared
    make
    ```
    
    Above is for cross-compilation. Otherwise build as usual.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"