Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f71b7e951301d29a16250279272f8ec38d95f859
Ticket: 8419b6d9ae1cfc61a215d4cd588304df2981b76f
Dynamic linking requres unicode on windows
User & Date: jan.nijtmans on 2013-09-02 13:12:15
Changes

  1. foundin changed to: "current: 8.6.0"
  2. icomment:
    Let's take a minimal example:
    
    <pre>
    #include <tcl.h>
    void main(int argc, const char *argv[]){
      Tcl_FindExecutable(argv[0]);
      printf("OK\n");
    }
    </pre>
    
    Then (from a Cygwin or MSys shell):
    <pre>
    $ i686-w64-mingw32-gcc -o main.exe main.c -I/Tcl/include -DUNICODE -D_UNICODE -L/Tcl/lib -ltcl86
    $ ./main.exe
    OK
    $ i686-w64-mingw32-gcc -o main.exe main.c -I/Tcl/include -L/Tcl/lib -ltcl86
    $ ./main.exe
    OK
    </pre>
    
    Using -DUSE_TCL_STUBS has exactly the same result, for Tcl_FindExecutable
    that doesn't make any difference (for other functions it does)
    
    Sorry, I cannot reproduce this problem.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "Works For Me"
  6. status changed to: "Pending"