Skip to content
Tcl Source Code History Of Ticket 3116490
Login

History Of Ticket 3116490

Artifacts Associated With Ticket 3116490

  1. Ticket change [dddcdcb902] (rid 114751) by nijtmans on 2010-11-23 11:27:28:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The mingw-w64 project   <http://mingw-w64.sourceforge.net/> provides
      toolchains which make it possible to compile windows (both 32-bit and 64-bit)
      executables on UNIX hosts. Tcl 8.6 has almost complete cross-compile
      support, here is the final patch to make it work.
      
      - The configure script detects cross-compilation, and sets TCL_EXE
        accordingly: This means that for cross-builds, TCL_EXE points to
        a tclsh executable which must be available before starting make
        for the first time! In native builds,TCL_EXE points to the tclsh
        being created, so it does not need to be available beforehand.
      
      modules in the pkgs directory (Thread, itcl, odbc) should upgrade
      to the latest TEA tcl.m4, then they can be cross-compiled the
      same way.
      
      So, how to cross-compile win32 Tcl on UNIX?
      
      For Linux (tested on Ubuntu 10.4):
      
      Make sure you have the mingw-w64 toolchain
      $ sudo apt-get install mingw-w64
      Then, do as normal, only add --host=...
      $ ./configure --prefix=/home/<user>/Tcl --host=i586-mingw32msvc
       ......
      $ make install
      
      That's it. You will have a complete build in
      your /home/<user>/Tcl directory. If you have wine
      installed, you can even run the tests (but don't expect
      everything to pass, because wine is not windows!)
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "cross-compile Tcl mingw32 on unix"
    12. type initialized to: "Patch"
  2. Add attachment "3116490.patch" [a9b9884139] (rid 99194) by nijtmans on 2010-11-23 18:29:00.

  3. Ticket change [665e4a86b8] (rid 102701) by nijtmans on 2010-11-23 18:29:00:

    1. icomment:
      
      
      File Added - 394145: 3116490.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [4797faf210] (rid 99729) by nijtmans on 2010-12-06 20:02:09:

    1. icomment:
      fixed on HEAD
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "nijtmans"
  5. Ticket change [2077d8f20c] (rid 91314) by nijtmans on 2011-09-21 18:29:41:

    1. closedate changed to: "2011-09-21T11:29:41"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "nijtmans"