Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 056307278bc5f4b6797f7fd04f6ad612d8c9addc64543194b14ab363390cbe73
Ticket: 2ef3430fdc612eb42a7a0aae7b3babed08d92c17
Don't assume that host=*mingw32* means cross-compiling
User & Date: oscarfv on 2025-10-26 13:24:59
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    win/configure has this:
    
    # Cross-compiling
    case ${host_alias} in
    *mingw32*)
        TCL_EXE="tclsh"
        ;;
    *)
        TCL_EXE="TCL_LIBRARY=\"\${LIBRARY_DIR}\"; export TCL_LIBRARY; ./\${TCLSH}"
        ;;
    esac
    
    
    The problem is that it assumes the existence of tclsh. When building under MSYS2 or Cygwin, that is not necessarily true, neither the pre-existing tclsh is required.
    
    The current behavior makes the build to fail under MSYS2/Cygwin unless the user has tclsh already installed.
    
    We either need a more robust mechanism for detecting a "true" cross-compilation and/or just test for the presence of tclsh at configure time.
    
  5. is_private changed to: "0"
  6. login: "oscarfv"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "becb0e4021beda640acc1b17b371abd9e9618647"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "oscarfv"
  13. subsystem changed to: "53. Configuration and Build Tools"
  14. title changed to:
    Don't assume that host=*mingw32* means cross-compiling
    
  15. type changed to: "Bug"