Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c806182faa1bed6b6136143f5f2b20043e64f6e
Ticket: 3564799fffffffffffffffffffffffffffffffff
Cross-compiling on Linux using MinGW
User & Date: dkf on 2016-08-23 14:01:13
Changes

  1. closer changed to: "nobody"
  2. comment changed to:
    Hello,
    
    trying to compile Tcl 8.5.12 for Windows using mingw32-w64, I got some errors during "make install".
    The reason is the fact that "make install" assumes that the newly built tclsh can be executed. That, of course, does not work  when cross-compiling.
    I'd like to offer you a patch for this issue.
    The changes made to configure.in and Makefile.in enable us to use the build machine's tcl to run the helper scripts.
    When cross compiling, make will use the tclsh provided to configure via RUN_TCLSH or a tclsh which is in the PATH.
    If there's no tclsh found, a warning gets printed but install succeeds. Hope it's useful.
    
    Regards
    
    Felix Lelchuk
    
  3. login: "dkf"
  4. mimetype: "text/plain"
  5. severity changed to: "Minor"
  6. subsystem changed to: "53. Configuration and Build Tools"