Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d91cce8a26785eca59c5d749fa34ba209bacede808e98765117e9ee99a460d96
Ticket: cb338c130b8fba479c2848de4fcd2045c1db12b1
Crosscompiliation issue with recent releases (8.6.16/9.0.1)
User & Date: apnadkarni on 2024-12-30 16:45:19
Changes

  1. icomment:
    Confirmed it all works in a msys environment but of course that is different from cross-compilation.
    
    The cause is probably the fix I put in for [this](https://core.tcl-lang.org/thread/tktview/f36e5b333c) bug. The zip creation requires a native tclsh while I suspect in a cross-compile environment, the target tclsh is being invoked.
    
    Possible fixes are 
    
    1. require a native tclsh (not sure if the current autoconf build system already as a TCLSH_NATIVE defined as in the nmake system), or
    
    2. use the minizip from the Tcl directory.
    
    3. go back to the use of an external zip program.
    
    I am not in favour of 3. In addition to the bug referenced earlier, while building with BAWT I experienced failures which Paul O. diagnosed as failures with zip's built with certain options.
    
    1. and 2. will require additional autoconf machinery.
    
    Opinions from Jan or others?
    
    BTW, this is not a Tcl core issue and should probably be moved to the thread repository but not sure as to how to do that.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"