Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 55449f151d096eee534af2c3f3be23bd5d55e86557a5e945717dc2449f8d4f8d
Ticket: 632710f6b707f17cd6abb196bb43fbd6f4b30653
Check for -municode doesn't work on WSL
User & Date: jan.nijtmans on 2025-12-19 08:40:16
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Doing a Tcl/Tk build on Windows WSL, I see:
    <pre>
    ./configure --disable-shared --enable-64bit
    ....
    checking for wine... no
    checking for cross-compile version of gcc... yes
    checking for mingw32 version of gcc... yes
    checking for working -municode linker flag... no
    checking for working -fno-lto... yes
    checking if the linker understands --disable-high-entropy-va... no
    checking if the compiler understands -finput-charset... yes
    checking for working --enable-auto-image-base... no
    checking compiler flags... using static flags
    </pre>
    Somehow the linker flags -municode and --disable-high-entropy-va are not recognized, but clearly the linkes has those. If I manually edit the configure script to add those options, everything works.
    
    So, why aren't the linker flags recognized?
    
  5. is_private changed to: "0"
  6. login: "jan.nijtmans"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "jan.nijtmans"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to: "Check for -municode doesn't work on WSL"
  15. type changed to: "Bug"