Tcl Source Code

View Ticket
Login
Ticket UUID: 14e564d47a1dd3950927d20960e54382704f02a4
Title: Compilation impossible with MinGW W64
Type: Support Version: 8.6.1
Submitter: anonymous Created on: 2014-07-08 08:33:06
Subsystem: 53. Configure and Build Tools Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Critical
Status: Closed Last Modified: 2014-07-08 14:10:21
Resolution: Duplicate Closed By: jan.nijtmans
    Closed on: 2014-07-08 14:10:21
Description:
There are two issues when trying to build tcl with MinGW w64.

I use the following invocation :

./win/configure --prefix=/c/libraries/tcl --enable-64bit

1. It fails with EXCEPTION_REGISTRATION issue, which a patch corrected the issue [1]
2. It fails at linkage with zlib with the error undefined reference to "__imp_CoTaskMemFree"

Adding -lole32 to the LIBS variable in the Makefile solved the second problem.

[1] http://sourceforge.net/p/mingw-w64/mailman/message/31614293/

Has the patch been applied for the next release ?
User Comments: jan.nijtmans added on 2014-07-08 14:10:21:

dup of [180810acbe], fixed already. To be released with Tcl 8.6.2 (and 8.5.16)


dgp added on 2014-07-08 12:07:59:
See http://core.tcl.tk/tcl/info/7488de4f4b



Passing to nijtmans to verify this is already done.